Skip to main content

Python interface to REACLIB databases

Project description

ratelib

A simple interface to handle REACLIB format databases of astrophysical reaction rates.

Standard REACLIB database can be downloaded from here: https://reaclib.jinaweb.org

Requirements

  • Python 3.5+
  • numpy
  • scipy

Installation

Package ratelib can be installed via pip:

  pip install ratelib

You can also install the most recent version from the git repository with following commands:

  git clone https://github.com/kompoth/ratelib
  cd ratelib
  python -m build
  pip install dist/*.whl

Usage

A simple script example.py is located in the root of the git repository. It loads a version of REACLIB, provided as the first argument, and draws a nuclei chart of weak decay rates at the temperature of 1 GK.

This script requires matplotlib>=3.4.

Classes

  • Library: Collection of reaction rates, database itself
  • Rate: Reaction rate class with properties from REACLIB format
  • RateFilter: Class for filtering rates in Library
  • Nucleus: Basic class to unify different nucleus denotions

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

ratelib-0.1.2.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

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

ratelib-0.1.2-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file ratelib-0.1.2.tar.gz.

File metadata

  • Download URL: ratelib-0.1.2.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.2

File hashes

Hashes for ratelib-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e328c0ca0b22e625188486355ee7918621cf55179ce58284c12f7f1e772a424c
MD5 e9261bedefec464119240c52d5f92fdc
BLAKE2b-256 3ae6bbfa853472eec3efcdb720fe9cfff0056b0e9d7e6ae93bd3b0956cfb7332

See more details on using hashes here.

File details

Details for the file ratelib-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ratelib-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.2

File hashes

Hashes for ratelib-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 444ff396a84fe6c6c3a8970f49c24575045f08d3e583128b122fe57cdac6ab52
MD5 0ec982cbaaf986caee873e23e5dad4ef
BLAKE2b-256 9e5c8fc34cefcb47379a926177d777d955c213a854bfc757069f186a753ea994

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