Inspiration
Having to work on the data from CFHT was for us a very appealing opportunity. When we learned that this could potentially help Hawaii highschool students, we got very thrilled to complete it. Getting to see through the CFHT workshop what an amazing community is the CFHT group made us appreciate their work and the relevance of what we were doing
What it does
Our code considers the spectrum from an object and outputs the emission and absorption lines related to it. We have incorporated graphs with the said lines and the display of the relevant quantities (corresponding wavelengths to the peaks)
How I built it
Through Python, numpy and scipy features, we were able to use the right tools to sort the data, define the necessary functions, compute the necessary quantities and plot the results. We built our code so it is applicable to any other object's spectrum; for it, there are 2 parts of the code that need to be changed: the input data and inner parameters to select the peaks (the readme file explains this in details)
Challenges I ran into
Getting to conceive a tool that lets us select the appropriate peaks was not easy. We first thought of many different ways to do that selection, but the one we came up with the scipy peaks function is the most efficient and useful one.
Accomplishments that I'm proud of
We are proud to having, we believe, conceived an operable program that can be helpful to other people.
What I learned
We got to learn new Python features, just as much as we got to get familiar with the great community at CFHT
What's next for CFHT Hackathon 2020 Challenge
We'll continue to work on our own after Hackathon, but we will stay bounded by this challenge that has given us valuable experience related to problem solving in Python and conceiving tools for other people to use.
Log in or sign up for Devpost to join the conversation.