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:
- Korobkin, O., Rosswog, S., Arcones, A., & Winteler, C. 2012, "On the astrophysical robustness of the neutron star merger r-process," Monthly Notices of the Royal Astronomical Society, 426, 1940. https://doi.org/10.1111/j.1365-2966.2012.21859.x
- Hotokezaka, K. & Nakar, E. 2020, "Radioactive Heating Rate of r-process Elements and Macronova Light Curve," Astrophysical Journal, 891, 152. https://doi.org/10.3847/1538-4357/ab6a98
To install
Installation is easy with Pip:
$ pip install kilonova-heating-rate
To use
See example code in example.py.
Metadata
Release files for kilonova-heating-rate 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kilonova-heating-rate-0.1.0.tar.gz | 6.5 kB | Without provenance | Details for kilonova-heating-rate-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kilonova_heating_rate-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for kilonova_heating_rate-0.1.0-py3-none-any.whl |
Total release size: 13.4 kB
Release files / kilonova-heating-rate-0.1.0.tar.gz
| Download URL | kilonova-heating-rate-0.1.0.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed5deb8eba1739759829ddd05ad6bcd5f7cb467adaddebab5bd60ee02cffe5c3
|
|
BLAKE2b-256 checksum How to use checksums |
da421f6174a7a87cb4987cc337ac55cca0a180777ef675ed07424ae82be540cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / kilonova_heating_rate-0.1.0-py3-none-any.whl
| Download URL | kilonova_heating_rate-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
45b38b78cd62cd50e360130414c62e15f6a741c767086ba0e1514e95f6053a19
|
|
BLAKE2b-256 checksum How to use checksums |
23de02be45fbcbd15fd441b2bd84eb2e280706970409aa2adc64a3615a900c9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for kilonova-heating-rate 0.1.0
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.