Closed PAHdb closed 5 years ago
The specutils package is quite powerful and already makes use of Units, therefore also addressing #23. Replacing Spectrum with specutils.Spectrum1D has now been implemented.
I'm reopening this issue as it turns out that specutils can also readily handle reading/parsing/writing spectral data saved in FITS-files. When #24 is fixed, specutils is likely to parse our example FITS-files directly. In addition, it can use custom loaders to handle other formats (https://specutils.readthedocs.io/en/latest/custom_loading.html).
After some checking it turns out that specutils currently doesn't read our FITS-files. Furthermore, while we can write a custom loader, they need to sit in the ~/.specutils-directory; something we don't really want ... closing.
Have a look at https://specutils.readthedocs.io/en/latest/ for possible using specutils from astropy.