Skip to main content

CHIME/FRB Constants

Project description

chime-frb-constants Coverage Status pypi-version black-formatting

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 and FREQ_FREQ

2020.06

  • Release on PYPI
  • All constants are now uppercase
  • All physical constants from scipy are not availaible anymore under constants.

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

chime-frb-constants-2020.12.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

chime_frb_constants-2020.12-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

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