Summary
Interactive animation showing the lensing of gravitational waves by a massive object.
LeR is a Python package designed for the statistical simulation and forecasting of gravitational wave (GW) events and their rates. It is tailored to support both GW population study groups and GW lensing research groups by providing a comprehensive suite of tools for GW event analysis. The package is organized into the following main components:
Sampling Gravitational Wave Source Properties:
The source’s redshift ($z_s$) sampling distribution, $R_m^U(z_s)$, is derived from the merger rate density of compact binaries, which is based on the star formation rate. The code is designed for easy integration of future updates or user-specified distributions.
The sampling of both intrinsic and extrinsic parameters of GW sources, represented by $\theta_i$, utilizes the prior distributions ( $P\left(\theta_i \right)$ ) available within the
gwcosmoandbilbyPython packages. Users can manually alter any relevant parameters as needed.
Calculation of Detectable Merger Rates Per Year:
The calculation of rates involves integration over simulated events that meet specific detection criteria, including computing SNRs ($\rho$) for each event or its lensed images and assessing them against a predetermined threshold ($\rho_{th}$).
SNR calculations are optimized using gwsnr, leveraging interpolation, artificial neural networks, and multiprocessing for accuracy and speed.
Simulated events and rate results, along with input configurations, are systematically archived for easy access and future analysis. All interpolators used in the process are preserved for future applications.
LeR is developed to meet the needs of both the LIGO-Virgo-KAGRA Scientific Collaboration and researchers in astrophysics. It is currently used in generating detectable lensing events and GW lensing rates for current and future detectors, contributing to the ongoing effort to detect lensed GWs, (arXiv:2306.03827). The package is designed with upgradability in mind to include additional statistics as required by related research.
Key features of LeR include efficient sampling, optimized SNR calculations, and systematic archiving of results. It leverages array operations and linear algebra from the numpy library, interpolation methods from scipy, and parallel processing capabilities from Python’s multiprocessing module, with performance further optimized using the numba library’s Just-In-Time compilation.
For more information and usage examples, please refer to the other sections of the documentation.
Detectable Gravitational Wave Event Rates:
\begin{equation*} R_U = \int dz_s R_m^U(z_s)\left{\Theta[\rho(z_s,\theta)-\rho_{th}] P(\theta) d\theta \right} \end{equation*}
$z_s$: GW source redshift, $R_m^U(z_s)$: source frame merger rate density in the co-moving volume at $z_s$, $\theta$: GW source parameters, $P$: probability distribution, $\rho$: SNR, $\rho_{th}$: SNR threshold, $\Theta$: Heaviside function to select detectable events.
Detectable Lensed Gravitational Wave Event Rates:
\begin{equation*} \begin{split} R_L = \int & dz_s R_m^L(z_s) ,\mathcal{O}{images}(z_s,\theta,\mu_i,\Delta t_i, \rho{th}) , \ & , P(\theta) P(\theta_L|\text{SL},z_s) P(\beta|\text{SL}) d\theta d\beta d\theta_L dz_s \end{split} \end{equation*}
$R_m^L(z_s)$: strongly lensed source frame merger rate density in the co-moving volume at $z_s$, $\theta_L$: lens parameters, $\beta$: image properties, $\mu$: image magnification, $\Delta t$: image time delay, $\mathcal{O}$: logical OR operator applied across all $\Theta_i$ of the images, $\text{SL}$: strong lensing condition.
Distribution binary black hole (BBH) in terms of redshift.
The following plot generated using
LeR. This considers O4 design sensitivity of the GW detectors.