https://github.com/KshitijAggarwal/casp
Calculating Association Probability of FRBs
https://github.com/KshitijAggarwal/casp
Last synced: 3 months ago
JSON representation
Calculating Association Probability of FRBs
- Host: GitHub
- URL: https://github.com/KshitijAggarwal/casp
- Owner: KshitijAggarwal
- License: bsd-3-clause
- Created: 2020-03-12T03:19:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-12T16:45:52.000Z (about 4 years ago)
- Last Synced: 2024-11-02T05:32:52.236Z (8 months ago)
- Language: Python
- Homepage: https://kshitijaggarwal.github.io/casp/
- Size: 683 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- frbsoft - GitHub
README
# CASP
[](https://zenodo.org/badge/latestdoi/246733557)
Calculating Asociation Probability of FRBs
If you just want a quick estimate for a few sources, you can use the web tool [here](https://kshitijaggarwal.github.io/casp/).
Install
---
git clone https://github.com/KshitijAggarwal/casp.git
cd casp
python setup.py installThe installation will put `calc_prob.py` in your `PYTHONPATH`.
Usage
---
calc_prob.py -r 1 -m 22 -z 0.2Output 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.0095Also, check out the example notebook ([here](https://github.com/KshitijAggarwal/casp/blob/master/examples/eb17_plots.ipynb)), where I have tried to reproduce some figures from [Eftekhari et al 2017](https://ui.adsabs.harvard.edu/abs/2017ApJ...849..162E/abstract).
Requirements
---
* astropy
* numpy
* scipy
Citation
---
Please cite the following papers if you used `casp`:
* [Aggarwal et al 2021](https://ui.adsabs.harvard.edu/abs/2021arXiv210403991A/abstract)
* [Eftekhari et al 2017](https://ui.adsabs.harvard.edu/abs/2017ApJ...849..162E/abstract)
* [Bloom et al 2003](https://ui.adsabs.harvard.edu/abs/2002AJ....123.1111B/abstract)