An extended FFTLog code for efficiently computing integrals containing:
-
one Bessel function (i.e. Hankel transform); or
-
one spherical Bessel function; or
-
one 1st or 2nd-derivative of spherical Bessel function.
v2.0: fftlogx
The code is written in C (./src/) and provides a python wrapper (./fftlogx/). To use it, run
python setup.py install
to construct install the interface, then follow the test notebook provided in /test/ to import and use it.
The older version (v1.0):
The code is independently written and tested in python (./python/fftlog.py) and C (./cfftlog/).
See more details in Notes.pdf
Please cite Fang et al (2019); arXiv:1911.11947, if you find the algorithm or the code useful to your research.
Please feel free to use and adapt the code for your own purpose, and let me know if you are confused or find a bug (just open an issue). FFTLog-and-beyond is open source and distributed with the MIT license.