English

hankl: A lightweight Python implementation of the FFTLog algorithm for Cosmology

Instrumentation and Methods for Astrophysics 2021-06-14 v1 Cosmology and Nongalactic Astrophysics Computational Physics

Abstract

We introduce hankl, a lightweight Python implementation of the FFTLog algorithm for Cosmology. The FFTLog algorithm is an extension of the Fast Fourier Transform (FFT) for logarithmically spaced periodic sequences. It can be used to efficiently compute Hankel transformations, which are paramount for many modern cosmological analyses that are based on the power spectrum or the 2-point correlation function multipoles. The code is well-tested, open source, and publicly available.

Keywords

Cite

@article{arxiv.2106.06331,
  title  = {hankl: A lightweight Python implementation of the FFTLog algorithm for Cosmology},
  author = {Minas Karamanis and Florian Beutler},
  journal= {arXiv preprint arXiv:2106.06331},
  year   = {2021}
}

Comments

6 pages, 2 figures; Code available at https://github.com/minaskar/hankl