Calculate the redshift of a FRB from its dispersion measure
Project description
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)