ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:1611.017] SNCosmo: Python library for supernova cosmology

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 offers fast implementations of several commonly used extinction laws and can be used to construct SN models that include dust. The SNCosmo library 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 peculiar data formats used in other packages. The library is extensible, allowing new models, bandpasses, and magnitude systems to be defined using an object-oriented interface.

Code site:
https://github.com/sncosmo/sncosmo https://sncosmo.readthedocs.io/en/v1.6.x/
Used in:
https://ui.adsabs.harvard.edu/abs/2016ApJS..225...31L
Bibcode:
2016ascl.soft11017B
Preferred citation method:

https://doi.org/10.5281/zenodo.592747


Views: 6382

ascl:1611.017
Add this shield to your page
Copy the above HTML to add this shield to your code's website.