zkbt / chromatic

Tools for visualizing spectrosopic light curves, with flux as a function of wavelength and time.
MIT License
14 stars 4 forks source link

Add `get_sphinx_photons` to access the SPHINX stellar models. #241

Open zkbt opened 3 months ago

zkbt commented 3 months ago

Iyer et al. (2022) present new awesome model stellar spectra and demonstrate they are more accurate than the Husser et al. (2013) spectra used by get_phoenix_photons. It also covers a broader wavelength range. There are oodles of reasons we should be using these model spectra, when we can.

We should make it easy to get and interpolate across this grid by adding a sphinx_library and a get_sphinx_photons (or some such). It should download the raw data from the (Zenodo repository](https://zenodo.org/records/7416042), process them into a interpolation dictionary, and save them somewhere locally in a file that's easy to load and interpolate. It should clearly indicate the temperature, gravity, metallicity limits.

@Pat-Wachiraphan , we could use this to give you another stellar spectrum to use for LTT1445A ;-)