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
print(constants.K_DM)
4149.377593360996
print(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
File details
Details for the file chime-frb-constants-2020.12.tar.gz
.
File metadata
- Download URL: chime-frb-constants-2020.12.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Darwin/20.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4678b0f51726c5ce84b98a7c13dc31caf3044a730dfe19f3633cd94d52b44fc |
|
MD5 | 3f6c6fabbb444b1d6c374cf10e89eba7 |
|
BLAKE2b-256 | 99efef61b0c82679327b8381f84bbf867e50b7aff9bf16872e07146b0a3e3928 |
File details
Details for the file chime_frb_constants-2020.12-py3-none-any.whl
.
File metadata
- Download URL: chime_frb_constants-2020.12-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Darwin/20.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78e081c2e4705f7e38d4e62161818c47e48f15d9e6b7bffa237380ae926a996f |
|
MD5 | 579b053468e81a3628a184bf5550a4dc |
|
BLAKE2b-256 | 3714e9c235ea975ef97466390037b60571c78bbbc766846476c3537c2b0022f6 |