Python library for supernova cosmology
copied from cf-staging / sncosmoconda install conda-forge::sncosmo
conda install conda-forge/label/cf201901::sncosmo
conda install conda-forge/label/cf202003::sncosmo
conda install conda-forge/label/gcc7::sncosmo
SNCosmo synthesizes supernova spectra and photometry from SN models, and has functions for fitting and sampling SN model parameters given photometric light curve data. It includes supernova models such as SALT2, MLCS2k2, Hsiao, Nugent, PSNID, SNANA and Whalen models, as well as a variety of built-in bandpasses and magnitude systems, and provides convenience functions for reading and writing commonly used data formats. The library is extensible, allowing user-defined models, bandpasses, and magnitude systems.