Skip to main content

Calculate the redshift of a FRB from its dispersion measure

Project description

Travis Documentation Status

Fruitbat

Fruitbat is an open source python package used to estimate the redshift of Fast Radio Burst (FRB) from its dispersion measure.

Installation

Run the following to install:

pip install fruitbat

Or you can clone this repository:

git clone https://github.com/abatten/fruitbat

Usage

The main function you want to use is dm_to_redshift():

>>> import fruitbat
>>> fruitbat.dm_to_redshift(9)
2.0, 0.0

>>> fruitbat.dm_to_redshift(9, dm_err=4)
2.0, 1.0

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

fruitbat-0.0.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

fruitbat-0.0.1-py3-none-any.whl (2.5 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