Skip to main content

FURAX Component Separation

PyPI version License: MIT pre-commit Documentation Results Explorer arXiv

FURAX-CS (FURAX Component Separation) is a Python package designed to benchmark and implement advanced component separation techniques for Cosmic Microwave Background (CMB) analysis. It leverages JAX for high-performance computing on GPUs and implements novel adaptive clustering methods.

This project specifically focuses on comparing:

  • FGBuster: parametric component separation (standard).
  • FURAX: Adaptive, gradient-based separation with spatially varying spectral parameters.

Furax ADABK

Furax CS is a comprehensive software package designed for Component Separation for the Cosmic Microwave Background (CMB) data analysis. The main tool is the minimizer provided under the name of Furax ADABK which is an adaptive gradient based optimizer specifically designed to handle extremely noise dominated data such as CMB observations and physical bound constraints. The minimizer is orders of magnitude faster than traditional minimizers such as Scipy-TNC and is able to reach lower minima in fewer iterations.

Runtime Comparison

This provides a much easier and faster way to explore the spatial variability of foregrounds and their impact on the CMB recovery.

This has an impact on the estimated r tensor-to-scalar ratio as shown in the figure below where we compare the likelihood profiles obtained with using the KMeans spatial clustering gridding runs and compared with LiteBIRD PTEP-like run obtained using FGBuster using multiresolution spatial clustering.

r Likelihood Comparison


Interactive Results: Explore the results from our paper (PLACEHOLDER) using the Results Explorer Streamlit app.

Installation

1. Prerequisites (JAX)

This package depends on JAX. To enable GPU acceleration (highly recommended), you must install the CUDA version of JAX before installing this package.

For NVIDIA GPUs:

pip install -U "jax[cuda]"

For CPU only:

pip install jax

2. Install Package

First, install the package from PyPi

pip install furax-cs

Some packages are not up to date on PyPi, to install the latest development version, install the requirement files after installing furax-cs:

pip install -r https://raw.githubusercontent.com/CMBSciPol/furax-cs/main/requirements.txt

Documentation

Full documentation is available at furax-cs.readthedocs.io.


Development

Running Tests

pytest

Pre-commit Hooks

Ensure code quality before committing:

pre-commit install
pre-commit run --all-files

Metadata

Release files for furax-cs 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for furax-cs 0.2.0
File Size Uploaded Provenance Actions
furax_cs-0.2.0.tar.gz 195.1 kB With provenance Details for furax_cs-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for furax-cs 0.2.0
File Interpreter ABI Platform Actions
furax_cs-0.2.0-py3-none-any.whl Python 3 none any Details for furax_cs-0.2.0-py3-none-any.whl

Total release size: 405.1 kB

Release files / furax_cs-0.2.0.tar.gz

Download URL furax_cs-0.2.0.tar.gz
Size 195.1 kB
Tags Source
SHA-256 checksum
How to use checksums
98aef94a1503e3858323fd45b32150572a0932df1d075eab5e31eefc61c86250
BLAKE2b-256 checksum
How to use checksums
6f406e2b4153aa36829a2e26d5c945378ae4f73f67ea5aa463aecf6ac327a83a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / furax_cs-0.2.0-py3-none-any.whl

Download URL furax_cs-0.2.0-py3-none-any.whl
Size 210.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c056fd4b9f39598aeadea6ae79364262db7f20b9a7f34ad5ae052fd48b67c69d
BLAKE2b-256 checksum
How to use checksums
a09f0d30db9e55c16f3a97f677df290a419cea56f532323e850c64dd54a40e36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for furax-cs 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for furax_cs-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page