pycbcnr is a plugin for PyCBC that enables the generation of gravitational waveforms directly from Numerical Relativity (NR) simulations in the SXS (Simulating eXtreme Spacetimes) catalog. This allows users to use high-accuracy NR data as input for waveform modeling, injection, or matched filtering in PyCBC-based pipelines.
- Loads
rhOverMNR waveforms from the SXS catalog. - Adjust the starting time w.r.t input
f_ref. - Computes the strain ( h(t) ) from spin-weighted spherical harmonics.
- Rescales waveforms to physical units using input masses and luminosity distance.
- Converts output to
pycbc.types.TimeSerieswith appropriate tapering.
git clone https://github.com/Kanchan-05/nrpycbc.git
cd pycbcnr
pip install .- Python ≥ 3.10
- PyCBC
- sxs
- sxstools
See test_nrsxs.ipynb
This project is licensed under the GNU General Public License v3 (GPLv3). See the LICENSE file for details.