BU-hammerTeam/PyHammer

Output line & band measurements?

jradavenport opened this issue · 4 comments

The IDL Hammer version returned a table of equivalent widths and band measurements, especially Balmer series and TiO values (particularly useful for low-mass star work, and computing zeta). Any hope of getting this functionality back into PyHammer?

We can very easily have PyHammer write the spectral indices we calculate for each spectrum for metallicity/spectral type determination to a table. We don't compute EWs, just spectral indices, so doing EWs would be a bit more work, but possible if that were something that would improve the code. Let me know if the spectral indices would be OK or if you are really looking for equivalent widths, and I will work on implementing that!

Having the option to save all the indices you're already computing would be a helpful (verbose) output!

I would argue there is value in providing the same features the original Hammer produced, at least for the K and M dwarfs. The EW and Errors are computed here for IDL Hammer

Awesome! Thanks for the feedback!

Ok so I think a quick first step would be to save the spectral indices we calculate to a table-- I will start working on that now.

Then I think we could make an option in the input GUI to calculate EWs if the user wants that as an output-- this will take a bit more time but we can definitely do it!