OttoStruve / muler

A Python package for working with pipeline-produced spectra from IGRINS, HPF, and Keck NIRSPEC
https://muler.readthedocs.io
MIT License
15 stars 9 forks source link

Base class for methods common to both IGRINS and HPF #5

Closed gully closed 3 years ago

gully commented 3 years ago

Some methods will be shared between both IGRINS and HPF, and more generally any near-IR echelle spectrograph. It would make sense to create a base class that contains common methods for both spectrographs, such as normalize() and plot(). A working name for this class could be EchelleSpectrum.

gully commented 3 years ago

Woohoo! I did this in recent commits. It is working. We still have to make a common base class for the SpectrumList methods, maybe something like EchelleSpectrumList.