superphot-plus
Superphot+ is an end-to-end package that imports supernova photometry, fits light curves to an empirical model, and performs subsequent classification and source parameter estimation. It dramatically expands on the functionalities of the package Superphot1, with multiple implemented sampling alternatives, including dynesty, stochastic variational inference, and NUTS. Superphot+ takes advantage of the JAX backend to speed up runtime.
Superphot+ includes functionalities to both generate simulated light curves, and import existing ZTF photometry from both ANTARES and ALeRCE. Classification functions by default label fitted light curves as one of SN Ia, SN II, SN IIn, SLSN-I, and SN Ibc, but alternative pre-trained models and classification labels can be substituted.
Superphot+ is the underlying package used in multiple real-time ANTARES classification filters2, as well as the ELASTICC challenge3.
1 https://github.com/griffin-h/superphot/tree/master/superphot
2 https://antares.noirlab.edu/filters
3 https://portal.nersc.gov/cfs/lsst/DESC_TD_PUBLIC/ELASTICC/
See ReadTheDocs for more information.
Getting started
To install this package for development use:
$ git clone http://github.com/vtda-group/superphot-plus
$ cd superphot-plus
$ python3 -m venv venv
$ source venv/bin/activate
$ python -m pip install -e ".[dev]"
To install all optional dependencies, including those for inference, plotting, loading
data from alert brokers, model tuning and benchmarking use
pip install .[dev,data-generation,sampling,plotting,tuning,benchmarking].
You can then run $ pytest to verify that all dependencies are correct,
and your environment should be ready for superphot-plussing!
Contributing
See the contribution guide on ReadTheDocs.
Metadata
Release files for superphot-plus 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| superphot_plus-0.1.0.tar.gz | 2.4 MB | Without provenance | Details for superphot_plus-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| superphot_plus-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for superphot_plus-0.1.0-py3-none-any.whl |
Total release size: 2.5 MB
Release files / superphot_plus-0.1.0.tar.gz
| Download URL | superphot_plus-0.1.0.tar.gz |
|---|---|
| Size | 2.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b00b79e0adab35ee7f8367ef0216dbc50a94d9ff996ef4b9f4dd56080b06dec
|
|
BLAKE2b-256 checksum How to use checksums |
4fbbc76bba6a1b05f3cf1bce1ed803768ba9dc858a95581ea7b71fb72be972be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.22
|
Release files / superphot_plus-0.1.0-py3-none-any.whl
| Download URL | superphot_plus-0.1.0-py3-none-any.whl |
|---|---|
| Size | 88.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31c53057acefcd780dad0e6e7794fbb612ff35fdcd11ca6d7c3cfb24e2be6dc5
|
|
BLAKE2b-256 checksum How to use checksums |
264a7f421696c95ed960e84c2074fe8a7aa152cc6d0bc178d411584031a10af4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.22
|
Security for superphot-plus 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.