First GSOC meet
Had my first meet with my GSOC mentors: matteobachetti and gullo. It was a cool introduction. They are astrophysicists themselves. How cool is that! I am super excited to learn and work with them.
Had my first meet with my GSOC mentors: matteobachetti and gullo. It was a cool introduction. They are astrophysicists themselves. How cool is that! I am super excited to learn and work with them.
Damn, till yesterday I was contemplating that I won't be selected. But today at 11:30 pm when I got the mail that my proposal was selected, my happiness knew no bounds.
But the job has only started. There is so much to learn and do and what not. Letsssss goooooo!!!
https://summerofcode.withgoogle.com/programs/2024/projects/rba4Di99
I am reaching the final stages of my project well ahead of the schedule.
Both the Crosspectrum and Powerspectrum classes, the Lomb Scargle Fourier Transform and Basic Documentation have been completed. Tests are almost done too
I have finished the refactoring the code for vaex and also writtten test cases to compare the spectrum calculated using pandas with the dataframe calculated using vaex dataframe . Also, Various spectroscopic quantities as absorbance , emissitivity is also compared for the both the dataframams. Also, there was many issues that was raised by the maintainers and I have resolved almost all of these , and commented on the other issues to discuss the problem and discuss some possible solution .Issues raised by the maintainers was mainly related to make changes more matainable and easy to understand and simple programming logic is preferred inplace of using some complex code without explaining that in detail. Also , the issue was to ensure a light test suite , that is test cases which takes less resources and time . Initialy , I didn’t focused on this thing and focused on testing the code and changes more elaborately by writing the test cases that cover many areas of code .
I will be discussing the goals of my GSoC project, how I spent my time and what I learned during this period. I will also be discussing the future of my project and what I plan to do next.
Big progress on the front of algorithm working. Turns out there wasn't that much of a problem in the algorithm. I just had to subtract the mean from the data before taking the fourier transform. The Lomb Scargle seems to work on data that has mean subtracted from it. Furthermore they dont seem to work that well or at all in full spectrum.
The LSFT also is highly sensitive to the time intervals that are input to it. I have found some more clues as to how to make it even better. I will expound upon this further within 2 weeks since my final exams are going on and I have limited time.
Since the last post, I worked on the moving-the-code task. Me, Nabil and Alasdair got on a call to discuss what should go where and I ended up creating a scraper_utils.py
file to complement the scraper.py
file. The other options were moving the functions to .util.net
or inside the scraper.py
file but outside the Scraper
class. After I moved the tests as well, I wrote new tests, increased test coverage and renamed some functions which were previously named in the JavaScript-style CamelCase.
I also added and extended doc-strings to some functions which could use some updating and made fixes as asked in Code-Reviews.
In the last post, I discussed what is OpenCL and why we chose to integrate it with Gnuastro. In this post, I’ll be discussing the actual implementation and the challenges I faced.
Since the last article, I received a lot of feedback and comments about the Kurucz PR.
Here is and example of a Fe_I spectrum I can obtain with these conditions.
I needed to adjust the code to make it more general and user friendly. I introduced a specie argument to SpectrumFactory and calc_spectrum to replace atom and molecule and gather them under a same name.
For testing specturm produce using vaex and pandas for non-equilibrium calculations are same , the code similar to equilibrium calculations is used
from radis import calc_spectrum