Skip to content

KshitijAggarwal/casp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CASP

DOI

Calculating Asociation Probability of FRBs

If you just want a quick estimate for a few sources, you can use the web tool here.

Install

git clone https://github.com/KshitijAggarwal/casp.git
cd casp
python setup.py install

The installation will put calc_prob.py in your PYTHONPATH.

Usage

calc_prob.py -r 1 -m 22 -z 0.2

Output will look like:

Chance coincidence probability (Bloom et al): 0.0125
Chance coincidence probability (Eftekhari et al): 0.0036
Chance coincidence probability (Eftekhari et al) using redshift: 0.0095

Also, check out the example notebook (here), where I have tried to reproduce some figures from Eftekhari et al 2017.

Requirements

  • astropy
  • numpy
  • scipy

Citation

Please cite the following papers if you used casp: