Skip to content
CMBSciPolPublic

About

Framework for Unified and Robust data Analysis with JAX

Resources

Stars

12 stars

Watchers

2 watching

Forks

Repository files navigation

Furax

PyPI version Python version License arXiv Documentation Status CI Ruff

Docs

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.

Requirements

  • Python 3.12 or higher
  • JAX — install separately for your target hardware (CPU, CUDA, Metal, …)

Installation

Furax is available as furax on PyPI, and can be installed with:

uv add furax       # uv, recommended
pip install furax  # pip, alternative

Note

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"

Developing Furax

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 dependencies

We use pytest for testing. You can run the tests with:

uv run pytest

To 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)

Citing Furax

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.

About

Framework for Unified and Robust data Analysis with JAX

Resources

Stars

12 stars

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages