Skip to main content

No project description provided

Project description

superphot-plus

Template

PyPI GitHub Workflow Status codecov Read the Docs

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/lincc-frameworks/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

GitHub issue custom search in repo

See the contribution guide on ReadTheDocs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

superphot-plus-0.0.4.tar.gz (98.2 MB view details)

Uploaded Source

Built Distribution

superphot_plus-0.0.4-py3-none-any.whl (96.2 MB view details)

Uploaded Python 3

File details

Details for the file superphot-plus-0.0.4.tar.gz.

File metadata

  • Download URL: superphot-plus-0.0.4.tar.gz
  • Upload date:
  • Size: 98.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for superphot-plus-0.0.4.tar.gz
Algorithm Hash digest
SHA256 1b7839ae7146df1756fd5f9f2b8702b1ec7037bea81106f7e876cb72331925ff
MD5 18ee64b6316318b22388932fb6b4cc44
BLAKE2b-256 97b3992cd532e9dd7f63d52681dd232745258f406eae132cacb8126d774299d1

See more details on using hashes here.

Provenance

File details

Details for the file superphot_plus-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for superphot_plus-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a4fe79f2c9a5ddfacb05252091375abb9374bf04ea1673b3f61ce9e8f6080aa9
MD5 f22985a5996b87a6cc6c94706a9d6000
BLAKE2b-256 a8a7340680d10a7c16168a557ebd9e70267aceec4264012fcaf32f9196735d00

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page