Skip to content

gwastro/pycbcnr

Repository files navigation

PyCBCNR

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.

Features

  • Loads rhOverM NR 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.TimeSeries with appropriate tapering.

Installation

git clone https://github.com/Kanchan-05/nrpycbc.git
cd pycbcnr
pip install .

Dependencies

Usage

See test_nrsxs.ipynb

License

This project is licensed under the GNU General Public License v3 (GPLv3). See the LICENSE file for details.

Releases

No releases published

Packages

No packages published