generalised FFTLog for integral transforms
Project description
fftl
— generalised FFTLog for Python
The fftl
package for Python contains a routine to calculate integral
transforms of the type ã(k) = ∫ a(r) T(kr) dr for arbitrary kernels T. It
uses a modified FFTLog [2] method of Hamilton [1] to efficiently compute the
transform on logarithmic input and output grids.
Besides the generalised FFTLog algorithm, the package also provides a number of standard integral transforms.
Installation
Install with pip:
pip install fftl
For development, it is recommended to clone the GitHub repository, and perform an editable pip installation.
The core package only requires numpy
. The standard integral transform module
additionally requires scipy
.
Usage
The core functionality of the package is provided by the fftl
module. The
fftl()
routine computes the generalised FFTLog integral transform for a
given kernel.
For convenience, a number of standard integral transforms are implemented in
the fftl.transforms
module.
User manual
References
- Hamilton A. J. S., 2000, MNRAS, 312, 257 (astro-ph/9905191)
- Talman J. D., 1978, J. Comp. Phys., 29, 35
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fftl-2022.7.18.tar.gz
.
File metadata
- Download URL: fftl-2022.7.18.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f297dbbc36c4f8b659f24311c518a41b363a6c641adb91bd36dcc7026e24abeb |
|
MD5 | 457e760635abf39350c7e83334becbd7 |
|
BLAKE2b-256 | 095a0b92d850ce05ac56833bd3b63f62eca265ee7ab3a3569fbb8db3513e5166 |
File details
Details for the file fftl-2022.7.18-py3-none-any.whl
.
File metadata
- Download URL: fftl-2022.7.18-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2270ae3b42fa779c35e440ad863da4421770e4399556260a293b2dacb16ffe6 |
|
MD5 | 246ad3725818094ba83076515e76a6e4 |
|
BLAKE2b-256 | 47c01abc80a68f1b8a0d51d5487313c2d6b019516ab4c9fbe06c3f68ce4dcefe |