forked from sncosmo/sncosmo.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
params.json
1 lines (1 loc) · 1.25 KB
/
params.json
1
{"name":"sncosmo","tagline":"A Python Library for Supernova Cosmology","body":"SNCosmo is a Python library for simulating, fitting and typing supernova light curves, built on NumPy, SciPy and AstroPy.\r\n\r\n### Example\r\nGenerate observed photometric data from a light curve model:\r\n```python\r\n>>> import sncosmo\r\n>>> model = sncosmo.Model(source='salt2')\r\n>>> model.set(x0=1.e-7, x1=0.5, c=0.05, z=1.0, t0=55100.)\r\n>>> model.bandmag('sdssr', 'ab', times=[55075., 55100., 55140.])\r\narray([ 27.1180182 , 25.68243714, 28.28456537])\r\n```\r\n\r\n### Install\r\nAssuming you have already installed the `astropy` package:\r\n```\r\n$ pip install sncosmo\r\n```\r\n\r\nThe [documentation](http://sncosmo.readthedocs.org) contains more details on installing and using the package.\r\n\r\nTo report bugs and request features, please use the [issue tracker](https://github.com/sncosmo/sncosmo/issues). To contact me directly, please use kylebarbary [at] gmail dot com.\r\n\r\nWe welcome comments and contributions. To follow the development and get a copy of the latest development code, visit the [GitHub](https://github.com/sncosmo/sncosmo) repository page.\r\n\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}