Skip to main content

Jim 🚬

A JAX-based gravitational-wave inference toolkit

docs license coverage pre-commit.ci status

Jim is a JAX-based toolkit for Bayesian parameter estimation of gravitational-wave sources. It pairs differentiable waveform models from ripple with GPU-accelerated JAX-based samplers, enabling massively parallel inference.

Supported samplers:

For a quick introduction, see the Quick Start guide.

[!WARNING] Jim 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 Jim is through pip:

pip install JimGW

This will install the latest stable release and its dependencies. Jim 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 JimGW[cuda]

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

git clone https://github.com/GW-JAX-Team/Jim.git
cd Jim
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

Jim was originally developed as kazewong/jim by Kaze W. K. Wong and others. The original repository is no longer actively maintained; this fork is the active continuation of the project.

Attribution

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

@article{Wong:2023lgb,
    author = "Wong, Kaze W. K. and Isi, Maximiliano and Edwards, Thomas D. P.",
    title = "{Fast Gravitational-wave Parameter Estimation without Compromises}",
    eprint = "2302.05333",
    archivePrefix = "arXiv",
    primaryClass = "astro-ph.IM",
    doi = "10.3847/1538-4357/acf5cd",
    journal = "Astrophys. J.",
    volume = "958",
    number = "2",
    pages = "129",
    year = "2023"
}

Metadata

Release files for JimGW 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for JimGW 0.5.1
File Size Uploaded
jimgw-0.5.1.tar.gz 943.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for JimGW 0.5.1
File Interpreter ABI Platform
jimgw-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 1.1 MB

Release files / jimgw-0.5.1.tar.gz

Download URL jimgw-0.5.1.tar.gz
Size 943.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c0ab02e5a1da0f3fdf12f67a832c76e3e9239278934e89be34a7592554b9495a
BLAKE2b-256 checksum
How to use checksums
db5579d251b7b377dc4bfd07eb0bdbfc115ca9bcee58c85bd57fb96a2b2e0a83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / jimgw-0.5.1-py3-none-any.whl

Download URL jimgw-0.5.1-py3-none-any.whl
Size 140.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1737cb7f719750b9411586dce9d0a028b7168ce51611a8bc55b1b52d7177d7f1
BLAKE2b-256 checksum
How to use checksums
90585d36855f783eeb0396527908477cf3bc8ce0ae7cb982f978baa0867cdf9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page