mwvgroup / csp-cmfgen

A comparison spectral SNe models against CSP data
https://mwvgroup.github.io/nir-comparison/
0 stars 0 forks source link

Model spectra #32

Closed spletts closed 4 years ago

spletts commented 4 years ago

New file _model_spectra.py fits a SN model with MW dust to CSP spectra, and writes the fit parameters (amplitude and Av) to a file. Currently also plots the best-fit model and the data. Known issue: the modeled spectra and CSP spectra are offset. Looking for an error in the handling of redshift