Calculating Asociation Probability of FRBs
If you just want a quick estimate for a few sources, you can use the web tool here.
git clone https://github.com/KshitijAggarwal/casp.git
cd casp
python setup.py install
The installation will put calc_prob.py
in your PYTHONPATH
.
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.
- astropy
- numpy
- scipy
Please cite the following papers if you used casp
: