Open kelle opened 10 hours ago
Thanks for the suggestion! I think it is an interesting idea as it would be a more generalized approach for working with spectra, both as input and output. It would require quite a lot of rewriting of species
though, so I am not fully convinced (yet) if the pros would outweigh the cons. From what I understood, specutils
do not handle covariances while these can be (optionally) used in a spectral fit with species
.
Hmmm, yes, looks like that's true. It's been discussed, but not implemented: https://github.com/astropy/astropy/pull/16690
The issue about fits encoding(#127) got me thinking....would it be worthwhile to implement use of the
specutils.Spectrum
class? It would increase the dependency onspecutils
, an astropy coordinated package. I see pros and cons and wonder if you've thought about it?