FAST-PT: a novel algorithm to calculate convolution integrals in cosmological perturbation theory
Joseph E. McEwen, Xiao Fang, Christopher M. Hirata, Jonathan A. Blazek
TL;DR
FAST-PT introduces a fast algorithm for evaluating nonlinear mode-coupling integrals in cosmological perturbation theory by expressing angular dependence with Legendre polynomials and leveraging log-spaced power spectra. It recasts P22 and P13 integrals as a set of 1D convolutions that can be computed with FFTs, yielding O(N log N) performance and enabling seamless integration into MCMC pipelines. The paper demonstrates accurate 1-loop SPT results and efficient renormalization group flow calculations, with substantial speedups over traditional methods. The public Python implementation, documentation, and planned extensions to tensor quantities and higher-loop calculations make FAST-PT a broadly useful tool for fast perturbative predictions in cosmology.
Abstract
We present a novel algorithm, FAST-PT, for performing convolution or mode-coupling integrals that appear in nonlinear cosmological perturbation theory. The algorithm uses several properties of gravitational structure formation -- the locality of the dark matter equations and the scale invariance of the problem -- as well as Fast Fourier Transforms to describe the input power spectrum as a superposition of power laws. This yields extremely fast performance, enabling mode-coupling integral computations fast enough to embed in Monte Carlo Markov Chain parameter estimation. We describe the algorithm and demonstrate its application to calculating nonlinear corrections to the matter power spectrum, including one-loop standard perturbation theory and the renormalization group approach. We also describe our public code (in Python) to implement this algorithm, including the applications described here.
