Skip to main content

Supernova Bolometric Lightcurves

Project description

SuperBoL: Supernova Bolometric Lightcurves

Version 0.3.1

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:

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

SuperBoL-0.3.1.tar.gz (53.3 kB view details)

Uploaded Source

File details

Details for the file SuperBoL-0.3.1.tar.gz.

File metadata

  • Download URL: SuperBoL-0.3.1.tar.gz
  • Upload date:
  • Size: 53.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for SuperBoL-0.3.1.tar.gz
Algorithm Hash digest
SHA256 bff7a2036d5553001f001adcea3230ea10ff4c8b252bda787fafc19f23b6f71d
MD5 e5a34d4f8959492cd230276ae60ce7b3
BLAKE2b-256 c7695349b1f52d75f4f102f88f6bf8d350282efad0283dff796c97ed812cddb7

See more details on using hashes here.

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