Furax: a Framework for Unified and Robust data Analysis with JAX.
This framework provides building blocks for solving inverse problems, in particular in the astrophysical and cosmological domains.
- Python 3.12 or higher
- JAX — install separately for your target hardware (CPU, CUDA, Metal, …)
Furax is available as furax on PyPI, and can be installed with:
uv add furax # uv, recommended
pip install furax # pip, alternativeNote
Transposing spherical harmonic transforms (furax.math.sht) requires an s2fft fix (#380) that is not yet released.
Until the next release, install s2fft from GitHub alongside Furax:
uv add "s2fft @ git+https://github.com/astro-informatics/s2fft"
pip install "s2fft @ git+https://github.com/astro-informatics/s2fft"We strongly recommend using uv to work on Furax.
uv sync # automatic editable install with `dev` dependency group
uv sync --extra <extra> # same with additional, optional dependenciesWe use pytest for testing. You can run the tests with:
uv run pytestTo ensure that your code passes the quality checks, you can use our pre-commit configuration.
We recommend using prek to run the pre-commit hooks.
uvx prek install # install pre-commit hooks; every commit will trigger them
uvx prek run # run hooks on demand (staged files)
uvx prek run -a # run hooks (all files)If you use Furax in your work, please cite the paper:
Chanial et al., Furax: A Modular JAX Framework for Linear Operators in Astrophysical and Cosmological Data Analysis, arXiv:2603.19600 (2026).
Citation metadata is also available in CITATION.cff.