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.
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.
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()
andplot()
. A working name for this class could beEchelleSpectrum
.