desihub / fastspecfit

Fast spectral synthesis and emission-line fitting of DESI spectra.
https://fastspecfit.readthedocs.org
BSD 3-Clause "New" or "Revised" License
13 stars 2 forks source link

nominal velocity dispersion should be recorded in the template header #169

Closed moustakas closed 6 months ago

moustakas commented 6 months ago

The nominal / default velocity dispersion should be recorded in the header of the templates. At the moment, the default is specified in fastspecfit.io.cache_templates, but if that value wasn't use to build a particular template set, then the code crashes.

Whatever change is made should be backwards-compatible with current / previous template versions (which all assumed / used 125 km/s).