Installation

Requirements

redback-jax requires Python 3.12 or later.

Core dependencies:

  • JAX (>= 0.4.0)

  • NumPy (>= 1.20.0)

  • SciPy (>= 1.7.0)

  • Pandas (>= 1.3.0)

  • Matplotlib (>= 3.5.0)

  • Astropy (>= 4.0.0)

Installation from PyPI

Once available on PyPI:

pip install redback-jax

With optional dependencies:

pip install redback-jax[all]

Installation from Source

git clone https://github.com/nikhil-sarin/redback-jax.git
cd redback-jax
pip install -e .

Development Installation

For development with all dependencies:

git clone https://github.com/nikhil-sarin/redback-jax.git
cd redback-jax
pip install -e .[dev]

This installs testing, documentation, and development tools.