ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:2112.022] hankl: Python implementation of the FFTLog algorithm for cosmology

hankl implements the FFTLog algorithm in lightweight Python code. The FFTLog algorithm can be thought of as the Fast Fourier Transform (FFT) of a logarithmically spaced periodic sequence (= Hankel Transform). hankl consists of two modules, the General FFTLog module and the Cosmology one. The latter is suited for modern cosmological application and relies heavily on the former to perform the Hankel transforms. The accuracy of the method usually improves as the range of integration is enlarged; FFTlog prefers an interval that spans many orders of magnitude. Resolution is important, as low resolution introduces sharp features which in turn causes ringing.

Code site:
https://github.com/minaskar/hankl
Used in:
https://ui.adsabs.harvard.edu/abs/2021JCAP...11..031B
Described in:
https://ui.adsabs.harvard.edu/abs/2021arXiv210606331K
Bibcode:
2021ascl.soft12022K

Views: 2244

ascl:2112.022
Add this shield to your page
Copy the above HTML to add this shield to your code's website.