Skip to main content

Kilonova light curves from Hotokezaka & Nakar 2019

Project description

kilonova-heating-rate

This is a Python package to calculate kilonova light curves using the Hotokezaka & Nakar (2019) model, which assumes radioactive heating, a power-law velocity profile, and gray opacities that are a piecewise-constant function of velocity.

This Python package is based on the original source code release from the 2019 paper (https://github.com/hotokezaka/HeatingRate), but includes the following enhancements:

  • Easy to install with Pip, the Python package manager.
  • Physical units are integrated with Astropy, the community Python package for astronomy.
  • Flexible specification of opacities: either constant, or piecewise constant as a function of ejecta velocity.
  • Fast due to the use of Numpy to evaluate the right-hand side of the system of ordinary differential equations that is solved to evalute the light curve.

To cite

If you use this work to produce a peer-reviewed journal article, please cite the following papers:

To install

Installation is easy with Pip:

$ pip install kilonova-heating-rate

To use

See example code in example.py.

Example plot

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

kilonova-heating-rate-0.1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

kilonova_heating_rate-0.1.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file kilonova-heating-rate-0.1.0.tar.gz.

File metadata

  • Download URL: kilonova-heating-rate-0.1.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for kilonova-heating-rate-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ed5deb8eba1739759829ddd05ad6bcd5f7cb467adaddebab5bd60ee02cffe5c3
MD5 30771d66736726229e59d1981bda9332
BLAKE2b-256 da421f6174a7a87cb4987cc337ac55cca0a180777ef675ed07424ae82be540cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kilonova_heating_rate-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for kilonova_heating_rate-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45b38b78cd62cd50e360130414c62e15f6a741c767086ba0e1514e95f6053a19
MD5 8cc6d0f165ff168e4ecfccc26a5b0661
BLAKE2b-256 23de02be45fbcbd15fd441b2bd84eb2e280706970409aa2adc64a3615a900c9b

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