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

Minas Karamanis, Florian Beutler
6/11/2021
astro-ph.IMastro-ph.COphysics.comp-ph

Official code: minaskar/hankl (25 stars, Python, GPL-3.0, last commit 2023-03-02).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

minaskar/hanklOfficial100%
GPL-3.0

hankl is a lightweight Python implementation of the FFTLog algorithm for Cosmology

255Python, TeXJul 1, 20203 years agoGPL-3.0
cosmologyfftfftloghankelnumerical-integration

Similar Papers

Cite this paper

@article{karamanis2021hankl,
  title  = {hankl: A lightweight Python implementation of the FFTLog algorithm for Cosmology},
  author = {Minas Karamanis and Florian Beutler},
  year   = {2021},
  eprint = {2106.06331},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.06331}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.06331.svg)](https://codeofpaper.com/paper/2106.06331)

Discussion