Skip to main content

Gravitational wave data analysis tool in Jax

Project description

Jim 🚬

A JAX-based gravitational-wave inference toolkit

doc 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.0.tar.gz (749.1 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.0-py3-none-any.whl (56.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jimgw-0.3.0.tar.gz
  • Upload date:
  • Size: 749.1 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.0.tar.gz
Algorithm Hash digest
SHA256 2a71b29c287011431f094f36e103e18dcfdeb913c5f2fbc3c6e64b01bed301a1
MD5 5f55daee05bafa6731e294e55a8bfcd7
BLAKE2b-256 5e82e9837f8a15dd91aabba5bd844ad37604f542b08fcf5fc286c2c9e4771bb7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jimgw-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 56.6 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f7c640eb37ee64d368521cb34aca911c3c42a206747c202f8bac81db893c8345
MD5 55bfed7e0e052d91b5c3f0c69f1a3801
BLAKE2b-256 7cb36f2a89ff10e454fc3ca09c6424f87e52350f88760e4e7275a826428fdf95

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