Skip to main content

A JAX-based gravitational-wave inference toolkit

Project description

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.

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"
}

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

jimgw-0.4.0.tar.gz (873.2 kB view details)

Uploaded Source

Built Distribution

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

jimgw-0.4.0-py3-none-any.whl (125.7 kB view details)

Uploaded Python 3

File details

Details for the file jimgw-0.4.0.tar.gz.

File metadata

  • Download URL: jimgw-0.4.0.tar.gz
  • Upload date:
  • Size: 873.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for jimgw-0.4.0.tar.gz
Algorithm Hash digest
SHA256 fd78ecb81aea54c28b91f0e49b1136476ca0b98c14571604a0d0d6470d4bfe88
MD5 c840219e699ece18b00b1fac8228c89c
BLAKE2b-256 d293d03739b868ea25e17c023e411c57ee2a7ec25c0ae3dac901af95d4d741e4

See more details on using hashes here.

File details

Details for the file jimgw-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: jimgw-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 125.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for jimgw-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 06b2e2e307f0272b02a47101f53ac5f68f11a3b229a02bfdd685c615f3f5bd1d
MD5 0765d98e4cec2fc55cea1568908687d4
BLAKE2b-256 7a79a5bebc5ff5337f30adb10964008dbe1c1aa9d58d08712435b4b85257dcae

See more details on using hashes here.

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