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:

  • flowMC — normalizing-flow-enhanced MCMC

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.3.1.tar.gz (745.9 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.3.1-py3-none-any.whl (58.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jimgw-0.3.1.tar.gz
Algorithm Hash digest
SHA256 0e425401348b0c1c8054244e5bb5aece849150aa4ce5b92e8d47c5c49cc3e876
MD5 1472f41e6f03c90ebb1a244c066e19f3
BLAKE2b-256 91c9152b9bfd6c69936bfabbc8460bc9d5f303ed494d42998a8cb04b5a7d7bb0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jimgw-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 58.2 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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 697cfb09348bdaf1cfdd00ff398672611b018f9cc71742cea7b65f0e8cfc9528
MD5 75837c46fd8d95bc0a292e2d069eb3c7
BLAKE2b-256 0cb884858ab3e9e402315e861980f46742da0f3c390309a15084bf7a223946f3

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