ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:2508.011] gwsnr: Gravitational Wave Signal-to-Noise Ratio computation

gwsnr calculates gravitational-wave (GW) Signal-to-Noise Ratio (SNR), essential for population simulations and hierarchical Bayesian inference with selection effects. The package eliminates computational bottlenecks through sophisticated interpolation techniques, Just-in-Time (JIT) compilation, and parallel processing. It offers multiple optimized backends tailored for different hardware configurations: a numba backend for multi-threaded CPU performance and JAX (ascl:2111.002) and mlx backends for GPU acceleration. gwsnr integrates easily into existing workflows. It is used by the LeR package (ascl:2503.040) for simulating lensed and unlensed GWs, allowing researchers to incorporate fast SNR computations with minimal overhead.

Code site:
https://github.com/hemantaph/gwsnr
Used in:
https://ui.adsabs.harvard.edu/abs/2025RSPTA.38340127M
Described in:
https://ui.adsabs.harvard.edu/abs/2024arXiv241209888P
Bibcode:
2025ascl.soft08011P

Views: 33

ascl:2508.011
Add this shield to your page
Copy the above HTML to add this shield to your code's website.