I should probably write a method to load FITS spectrum as a ndarray.
The flux can be loaded easily with astropy.io.fits. For the wavelength I will have to calculate the values using the CRPIX1, CRVAL1 and CDELT1 entries on the header. The header can also be easily loaded also with the astropy.io.fits.
I should probably write a method to load FITS spectrum as a ndarray.
The flux can be loaded easily with astropy.io.fits. For the wavelength I will have to calculate the values using the CRPIX1, CRVAL1 and CDELT1 entries on the header. The header can also be easily loaded also with the astropy.io.fits.