Skip to main content

SuperBoL: Supernova Bolometric Lightcurves

Version 0.3.4

SuperBoL is a python package for calculating the bolometric lightcurves of Type II supernovae using observed photometry. Three different methods for calculating the bolometric luminosity are currently included. Those are:

  • Quasi-bolometric: converts observed magnitudes to monochromatic fluxes at the effective wavelengths of the filters, then integrates using the trapezoidal rule to get an approximation of the total observed flux.

  • Direct: Calculates the quasi-bolometric lightcurve, then makes UV and IR corrections by fitting a blackbody curve to the fluxes, and integrating that function beyond the wavelength limits of the observations.

  • Bolometric Correction: Performs a bolometric correction based on B-V, V-I, or B-I color, using the method of Bersten & Hamuy (2009).

Typical usage often looks like this:

from superbol import sn

my_supernova = sn.SN('sn1998a')
my_supernova.lqbol()                # quasi-bolometric lightcurve
my_supernova.lbol_direct_bh09()     # direct lightcurve
my_supernova.lbol_bc_bh09('B', 'V') # B-V bolometric correction lightcurve

SuperBoL propagates uncertainties in the input data through the calculations made by the code, allowing for errorbars to be included in plots of the lightcurve.

Installation

Source code can be found at https://github.com/JALusk/SuperBoL

In order to install SuperBoL system-wide, use:

python setup.py install

If you do not have root priviliges on your machine, then use:

python setup.py install --user

Documentation

Documentation is hosted at ReadTheDocs.

Documentation is automatically generated via Sphinx. To generate the documentation locally, navigate to the docs/ directory and use:

make html

This will generate html files in the docs/build/html/ directory. Double-clicking the index.html file should open the documentation in your web browser.

Development

Bug reports, feature requests, and contributions are welcome.

Please issue bug reports and feature requests using https://github.com/JALusk/SuperBoL/issues - signing up for a GitHub account is free and easy.

To contribute code, please use the following procedure:

Metadata

Release files for SuperBoL 0.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for SuperBoL 0.3.4
File Size Uploaded Provenance Actions
SuperBoL-0.3.4.tar.gz 53.3 kB Without provenance Details for SuperBoL-0.3.4.tar.gz

Release files / SuperBoL-0.3.4.tar.gz

Download URL SuperBoL-0.3.4.tar.gz
Size 53.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1809fc3c62612943f1791fdb8347d26644226d383c31fb3dcde0852c73da7334
BLAKE2b-256 checksum
How to use checksums
e0d683d46b5d27e6dcabc19b14bdcd3bcfedc6fddc9d634e17e44b7c22c53e2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.4.3

Security for SuperBoL 0.3.4

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page