CHIME/FRB Constants
Project description
CHIME/FRB Constants
A pure-python, lightweight and zero dependency package to access constants used in the CHIME/FRB software projects.
Installation
pip install chime-frb-constants
Optional
If scipy
is installed in the python environment, frb-constants
will also expose the physical constants, otherwise it is set to None
import chime_frb_constants as constants
constants.phy_const
Usage
import chime_frb_constants as constants
>>> constants.K_DM
4149.377593360996
>>> constants.phys_const.speed_of_light
299792458.0
Changelog
2020.07
- Updated
CHANNEL_BANDWIDTH_MHZ
- Fixed errors with
FREQ
- Added optional physical constants from
scipy
2020.06.3
- Fixed error with
CHANNEL_BANDWIDTH_MHZ
- Change to
SAMPLING_TIME_MS
- New constant
SAMPLING_TIME_S
2020.06.2
- Added constants
FREQ
andFREQ_FREQ
2020.06
- Release on PYPI
- All constants are now uppercase
- All physical constants from
scipy
are not availaible anymore under constants.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for chime-frb-constants-2020.7.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b94248071ae24869788d7bf8a24452160e382e624846217df37c98a45e9e02d2 |
|
MD5 | 282919182dc30c6200e89a6706df027a |
|
BLAKE2b-256 | 3ca1baf7ef5dd4ee417e1ed3121021ce5fecf5a2b819fd9a37ab41c64124456f |
Close
Hashes for chime_frb_constants-2020.7.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8ff2c6271178770ccf0559fdadf93f0f05607e45e2aef24dd3c7b102af91ed9 |
|
MD5 | cc0691fc109ae42331d01b3ad4311337 |
|
BLAKE2b-256 | 59e48e39912c55c38168a9dc3ac053562fffb6e92113c8bf0eb7d8a5013673f5 |