Closed DanielAndreasen closed 4 months ago
Thanks for the feedback on the docs! Admittedly they're quite old and have flown under my radar until now, but all your points make sense. I'll address as many as possible and let you know how it goes.
Sounds good. Let me know if I can help somehow
Ok, I think I've solved all the issues here:
Aside from those, just generally spruced up the page with modern stuff like f-strings, concise numpy stuff, and cleaner figures.
This tutorial could use some polishing: https://gollum-astro.readthedocs.io/en/latest/tutorials/best_fit_for_fixed_template.html
muler
installed. Just add a small paragraph saying it can be installed withpip install muler
, so the user don't have to find this information.~/Downloads/Goldilocks_20210517T054403_v1.0_0060.spectra.fits
.data_clean
function can be writte quite elegantly (in my opinion) like below (I like to use type annotations), since all the methods used on the data, return the same type. But I do recognize that for some users this might be confusing.metallicity
should be replaced withZ
.chi2
calculations gives me a bunch ofinf
. Should it be:chi2_loss = np.sum(0.5 * residual.flux**2) / np.sum(residual.uncertainty.array**2)
? If I change it to that, the code works for me and give the same results as written in the tutorial.Review link: https://github.com/openjournals/joss-reviews/issues/6601