Week 2: From “Hello World” to Sine Waves: Setting Up for Data Analysis
Welcome back to week two! This week, I started with getting my computer ready for step one and getting used to the software. While I have coded many times before, it was usually coding for projects developing an app, website, or something of that sort. I usually have used software like Replit or XCode, so I had to adjust a little to get used to Anaconda, the software where I will develop an algorithm to analyze and manipulate the data I will collect.
So I started by downloading the application and installing Spyder, which is the console we will be using. However, as a Macbook user, I ran into some challenges because these applications are originally built for Windows, meaning it’s hard to find tutorials. Additionally, Windows is often also just better equipped for the energy that running code takes. Nevertheless, I worked through the difficulties and got the software into my laptop and ran the honorary and necessary print(“Hello World”).
Then, I began working on the actual project. My task was to plot a 2d sine wave, horizontally and vertically, and then overlay. The image below is what I ended up plotting. The code itself was less complicated than I expected. I just used the mathematical sine equation, allowing shifts if needed, and plotted it using meshgrid.

Then my last step for this week was focusing on the area of interest (which is usually circular). So I added a circular overlay that doesn’t plot the information outside of a certain area, and here is the image that was plotted.

This week, I had a lot of fun figuring out how to make these things happen and learning more about the basics, especially using new software. I look forward to applying it to actual data that I will collect. That’s all for now, see you next week!
– Suhaani

Comments:
All viewpoints are welcome but profane, threatening, disrespectful, or harassing comments will not be tolerated and are subject to moderation up to, and including, full deletion.