Skip to main content

No project description provided

Project description

superphot-plus

Template

PyPI GitHub Workflow Status codecov Read the Docs benchmarks

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

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.1.0.tar.gz (2.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

superphot_plus-0.1.0-py3-none-any.whl (88.5 kB view details)

Uploaded Python 3

File details

Details for the file superphot_plus-0.1.0.tar.gz.

File metadata

  • Download URL: superphot_plus-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for superphot_plus-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3b00b79e0adab35ee7f8367ef0216dbc50a94d9ff996ef4b9f4dd56080b06dec
MD5 a8b2e4672c62197935a0265b5311dbdc
BLAKE2b-256 4fbbc76bba6a1b05f3cf1bce1ed803768ba9dc858a95581ea7b71fb72be972be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: superphot_plus-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 88.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for superphot_plus-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 31c53057acefcd780dad0e6e7794fbb612ff35fdcd11ca6d7c3cfb24e2be6dc5
MD5 47bc00d9192e67ba9d8a20833bda4da2
BLAKE2b-256 264a7f421696c95ed960e84c2074fe8a7aa152cc6d0bc178d411584031a10af4

See more details on using hashes here.

Supported by

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