Skip to main content

A waveform plugin for PyCBC with non-general relativity templates

Project description

Documentation Status

TGR: Testing General Relativity with Gravitational Waves

TGR is a collection of PyCBC waveform plugins for testing general relativity with gravitational-wave data. It provides waveform approximants for modified propagation, phenomenological beyond-GR corrections, ringdown models. The package is intended for analyses that call waveforms through the PyCBC waveform plugin interface, can be used for Bayesian parameter estimation, matched-filtering, injection campaigns, etc.

Installation

TGR is published on PyPI as tgr:

pip install tgr

For development from a local checkout:

git clone https://github.com/yi-fan-wang/TestingGR_with_Gravwaves.git
cd TestingGR_with_Gravwaves
pip install -e .

The package requires Python 3.11 or newer and installs PyCBC as a dependency.

Waveform Plugins

After installation, TGR registers the following PyCBC approximants.

Frequency-domain waveform plugins:

  • birefringence: gravitational-wave birefringence models
  • massive_graviton: massive-graviton propagation corrections
  • fta: flexible theory-agnostic waveform deformations
  • ppe: parameterized post-Einsteinian corrections
  • lsa: line-of-sight amplitude corrections

Time-domain waveform plugins:

  • nrsxs: SXS numerical-relativity waveform interface
  • lvcnr: LIGO/Virgo/KAGRA numerical-relativity waveform interface
  • NRSur7dq4_remove_qqnm: NRSur7dq4 waveform with quadratic QNM contributions removed
  • NRSur7dq4_tdtaper: tapered NRSur7dq4 waveform generation

Documentation and Examples

Documentation is available at yi-fan-wang.github.io/TestingGR_with_Gravwaves. Example notebooks and scripts are available in the examples directory.

Usage in Scientific Publications

The birefringence is used in Refs.[1,2] for testing gravitational wave parity violation. The NRSur7dq4_remove_qqnm approximant is designed for subtracting predicted quadratic quasi-normal-mode contributions from an NRSur7dq4 waveform and used in the analysis of nonlinear ringdown evidence in GW250114 [3].

References

[1] Tests of Gravitational-Wave Birefringence with the Open Gravitational-Wave Catalog. arXiv:2109.09718.

[2] Gravitational-Wave Implications for the Parity Symmetry of Gravity at GeV Scale. arXiv:2002.05668.

[3] A nonlinear voice from GW250114 ringdown. arXiv:2601.05734.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tgr-1.1.0.tar.gz (31.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tgr-1.1.0-py3-none-any.whl (32.6 kB view details)

Uploaded Python 3

File details

Details for the file tgr-1.1.0.tar.gz.

File metadata

  • Download URL: tgr-1.1.0.tar.gz
  • Upload date:
  • Size: 31.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tgr-1.1.0.tar.gz
Algorithm Hash digest
SHA256 5467f82944fa30f0ebe8a11f0ce48106120971bd8bb8c487626430495e619a82
MD5 e45907b8af8aad4331f14b9638ebbc6f
BLAKE2b-256 9202d6a0aa75979600be9feef0a5b65206ffb80e630c5eec5de9fad2af634a55

See more details on using hashes here.

Provenance

The following attestation bundles were made for tgr-1.1.0.tar.gz:

Publisher: publish.yml on yi-fan-wang/TestingGR_with_Gravwaves

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tgr-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: tgr-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 32.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tgr-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fdbadb97aa80767dd0cdc441d17b241360c4b4d3417668a5a2989923da367738
MD5 a2a230b5f734d548d07021aff9386c7f
BLAKE2b-256 95489ba6101370588ff502b3d4d3c00ba1c6529e1aea8c20e9efa22dbe2569ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for tgr-1.1.0-py3-none-any.whl:

Publisher: publish.yml on yi-fan-wang/TestingGR_with_Gravwaves

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page