This is a scipy wrapper to evaluate the generalized Marcum-Q function:
For properties and applications see:
Ours is a straightforward implementation that simply converts the relevant conventions from scipy.stats.ncx2; please see Appendix A in Gerosa and Bellotti (2023).
Install this package with pip install marcumq and then use it with:
import marcumq
marcumq.marcumq(nu=1,a=1.5,b=2.5)
If you use this code, it would be great if you could cite our paper:
- Quick recipes for gravitational-wave selection effects. Davide Gerosa, Malvina Bellotti. Classical and Quantum Gravity 41 (2024) 125002, arXiv:2404.16930 [astro-ph.HE]