Skip to main content

ripple 🌊

A JAX-based package for differentiable gravitational-wave waveform generation

docs license coverage pre-commit.ci status

ripple is a JAX-based package for differentiable gravitational-wave waveform generation. By implementing waveform models as differentiable JAX functions, ripple enables gradient-based inference and runs natively on GPU, making it well-suited for use within modern probabilistic inference pipelines such as Jim.

Supported waveforms:

  • TaylorF2 — fast post-Newtonian waveform, aligned spins, tidal-capable
  • IMRPhenomXAS — aligned-spin binary black holes
  • IMRPhenomXPHM — precessing spins with higher-order modes
  • IMRPhenomXAS_NRTidalv3 — tidal corrections for binary neutron star mergers
  • SineGaussian — time-domain burst waveform
  • PulsarSignal — continuous-wave signal from a spinning neutron star
  • etc.

See the Waveform Catalogue for the full list of supported waveforms.

For a quick introduction, see the Quick Start guide.

[!WARNING] ripple has not yet reached v1.0.0 and the API may change. Use at your own risk. Consider pinning to a specific version if you need API stability.

Installation

The simplest way to install ripple is through pip:

pip install rippleGW

This will install the latest stable release and its dependencies. ripple is built on JAX. By default, this installs the CPU version of JAX. If you have an NVIDIA GPU, install the CUDA-enabled version:

pip install rippleGW[cuda]

If you want to install the latest version of ripple, you can clone this repo and install it locally:

git clone https://github.com/GW-JAX-Team/ripple.git
cd ripple
pip install -e .

We recommend using uv to manage your Python environment. After cloning the repository, run uv sync to create a virtual environment with all dependencies installed.

Origins

ripple was originally developed as tedwards2412/ripple by Thomas Edwards and others. The original repository is no longer actively maintained; this fork is the active continuation of the project.

Attribution

If you use ripple in your research, please cite the accompanying paper:

@article{Edwards:2023sak,
    author = "Edwards, Thomas D. P. and Wong, Kaze W. K. and Lam, Kelvin K. H. and Coogan, Adam and Foreman-Mackey, Daniel and Isi, Maximiliano and Zimmerman, Aaron",
    title = "{Differentiable and hardware-accelerated waveforms for gravitational wave data analysis}",
    eprint = "2302.05329",
    archivePrefix = "arXiv",
    primaryClass = "astro-ph.IM",
    doi = "10.1103/PhysRevD.110.064028",
    journal = "Phys. Rev. D",
    volume = "110",
    number = "6",
    pages = "064028",
    year = "2024"
}

Download files

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

Source Distribution

ripplegw-0.3.1.tar.gz (481.9 kB view details)

Uploaded Source

Built Distribution

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

ripplegw-0.3.1-py3-none-any.whl (225.5 kB view details)

Uploaded Python 3

File details

Details for the file ripplegw-0.3.1.tar.gz.

File metadata

  • Download URL: ripplegw-0.3.1.tar.gz
  • Upload date:
  • Size: 481.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ripplegw-0.3.1.tar.gz
Algorithm Hash digest
SHA256 c9435c9266125b645d38636a42947acad93cf841ce635e55a1a3a5d765990f2e
MD5 5d0c56a2e9a295718feb4ad3b627fe18
BLAKE2b-256 e0b7d6da3e3adcd03d5490638a1f73c743e22b9d002ea06c8ebf8c2725905727

See more details on using hashes here.

File details

Details for the file ripplegw-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: ripplegw-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 225.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ripplegw-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0bd8f1bb8235ae59d9bfa3938ca1ee49bf91f4b38bd313a25620f087539cfeaf
MD5 bd3245a3fdf07146304cddf4f76180da
BLAKE2b-256 c933fc079529e3a796da9f4bb1b2cd17a77ba70ff3ae9e821380bdcf46714134

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

0.0.9

2 files

0.0.7

1 file

0.0.6

2 files

0.0.5

2 files

0.0.4

1 file

0.0.3

2 files

0.0.2

2 files

0.0.1

1 file

Supported by

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