SwiftCℓ : fast differentiable angular power spectra beyond Limber
Laura Reymond, Alexander G. Reeves, P.P Zhang, Alexandre Réfrégier
ETH Zurich · University of Milan
Key points
From the paper's conclusion- For this purpose, we introduce SwiftC ℓ , a fast, accurate and differentiable JAX -based pipeline for the computation of the angular power spectrum beyond the Limber approximation.
Abstract
Abstract The upcoming stage IV wide-field surveys will provide high precision measurements of the large-scale structure (LSS) of the universe. Their interpretation requires fast and accurate theoretical predictions including large scales. For this purpose, we introduce SwiftC ℓ , a fast, accurate and differentiable JAX -based pipeline for the computation of the angular power spectrum beyond the Limber approximation. It uses a new FFTLog-based method which can reach arbitrary precision and includes interpolation along k , allowing for k -dependent growth factor and biases. SwiftC ℓ includes a wide range of probes and effects such as galaxy clustering, including magnification bias, redshift-space distortions and primordial non-Gaussianity, weak lensing, including intrinsic alignment, cosmic microwave background (CMB) lensing and CMB integrated Sachs-Wolfe effect. We compare our pipeline to the other available beyond-Limber codes within the N5K challenge from the Rubin Observatory Legacy Survey of Space and Time (LSST) Dark Energy Science Collaboration. SwiftC ℓ computes the 120 different angular power spectra over 103 ℓ-multipoles in 5 ms on one GPU core while the computation of the gradient is approximately 4× slower. Using a pre-calculation, SwiftC ℓ is thus about 40× faster than the winner of the N5K challenge with comparable accuracy. Furthermore, all outputs are auto-differentiable, facilitating gradient-based sampling and robust and accurate Fisher forecasts. We showcase a Markov Chain Monte Carlo, a Hamiltonian Monte Carlo and a Fisher forecast on an LSST-like survey, illustrating SwiftC ℓ 's differentiability, speed and reliability in measuring cosmological parameters. The code is publicly available at https://cosmo-gitlab.phys.ethz.ch/cosmo_public/swiftcl .
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Blast.jl: Differentiable Non-Limber Power Spectra for Joint Clustering, Shear, and CMB lensing AnalysesarXiv · 2026
- PowerFull: fast and accurate computation of the relativistic angular galaxy power spectrum including local primordial non-GaussianityJournal of Cosmology and Astroparticle Physics · 2026
- Fast and accurate differentiable code of the galaxy power spectrum based on Eulerian and Lagrangian one-loop perturbation theoriesarXiv · 2026
- bihalofit-JAX: A Differentiable Code for the Nonlinear Matter Bispectrum and its Projected StatisticsarXiv · 2026
- CosmoForge. I. A unified framework for quadratic maximum likelihood power spectrum estimation and pixel-based likelihood analysisAstronomy & Astrophysics · 2026
- SMART : Spherical Mass ApeRture ToolkitarXiv · 2026