Installation
Requirements
Python >= 3.10
gfortranfor compiling the Fortran extensionredback >= 1.15.0
Install
git clone https://github.com/nikhil-sarin/redback-csm
cd redback-csm
bash setup_fortran.sh
pip install -e .
Optional extras:
pip install -e ".[dev]"
pip install -e ".[jax]"
pip install -e ".[docs]"
Smoke Tests
python -m pytest tests/test_smoke.py -q
The smoke tests cover simple mode, legacy diffusion, transport mode, nickel, radio, X-rays, and the optional JAX backend when JAX is installed.