/casp

Calculating Association Probability of FRBs

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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: