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.

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

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.1.tar.gz (883.7 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.1-py3-none-any.whl (127.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jimgw-0.4.1.tar.gz
  • Upload date:
  • Size: 883.7 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.1.tar.gz
Algorithm Hash digest
SHA256 78845d087d689d154ec42aada939ab224d6923bb3366cbc995bd73918bac3f6a
MD5 b945d84936e051cf57d51f14f3524d53
BLAKE2b-256 92d393088b17152292e114c3a72e5f0379037510dd26ea5586be00f2c45d9a9b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jimgw-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 127.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bfdacf96210f132a2c19ca9569683df22a58c09e42b71c123a953ad46c6d6aba
MD5 f5655a39a093b1921a033a5d6f37be25
BLAKE2b-256 c4f8dc17ef9d1dca260d6ed75a02e71b02a8ffcfd5091b47c41d166bd55d5f56

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