PAHFIT / pahfit

Model Decomposition for Near- to Mid-Infrared Spectroscopy of Astronomical Sources
https://pahfit.readthedocs.io/
18 stars 26 forks source link

Use Spectrum1D for data? #25

Open karllark opened 5 years ago

karllark commented 5 years ago

Defined in the astropy affiliated package specutils.

https://specutils.readthedocs.io/en/latest/

jdtsmith commented 2 years ago

Also for "model spectra" produced by pahfit.model. We can put some useful things in the meta of the Spectrum1D for such generated "model" spectra.

alexmaragko commented 2 years ago

It has been out for sometime now, it can handle cubes, define/extract spectral regions, so I can definitely see some benefits including it in PAHFIT.

jdtsmith commented 2 years ago

One oddity for collections of spectra (iterables) is that you need to specify common information like redshift in each of them. I suppose we could make our own wrapper which inherits that.