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.
The package supports any array implementation such as Numpy, JAX, Torch, dask,
etc. as long as it provides a reasonable set of standard Array API functions
(e.g. log(), exp(), linspace(), etc.) and Fast Fourier Transforms
(fft.rfft() and fft.irfft()).
Besides the generalised FFTLog algorithm, the package also provides a number of standard integral transforms.
Installation
Install with pip:
pip install fftl
The package only requires numpy and scipy.
For development, it is recommended to clone the GitHub repository, and perform an editable pip installation.
Usage
The core functionality of the package is provided by the fftl module. The
fftl.transform() routine computes the generalised FFTLog integral transform
for a given kernel. For convenience, the module provides a number of
standard integral transforms.
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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fftl-2025.1.1.tar.gz.
File metadata
- Download URL: fftl-2025.1.1.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aee8508f510a130fedc3a4e9ed3872ef5548ac539da6f7c4673fd4ca44e11902
|
|
| MD5 |
3f3711eb7d2771581729b9bab4ea58d0
|
|
| BLAKE2b-256 |
b8eec850ff6cdfa43b3e180d0f26fa152ea2e10c7e7a74194154cfb8fb8e6eab
|
Provenance
The following attestation bundles were made for fftl-2025.1.1.tar.gz:
Publisher:
release.yml on ntessore/fftl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fftl-2025.1.1.tar.gz -
Subject digest:
aee8508f510a130fedc3a4e9ed3872ef5548ac539da6f7c4673fd4ca44e11902 - Sigstore transparency entry: 210255672
- Sigstore integration time:
-
Permalink:
ntessore/fftl@8191b3a5c2420c5ba732617e5bae18b3bf9237ba -
Branch / Tag:
refs/tags/v2025.1.1 - Owner: https://github.com/ntessore
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8191b3a5c2420c5ba732617e5bae18b3bf9237ba -
Trigger Event:
release
-
Statement type:
File details
Details for the file fftl-2025.1.1-py3-none-any.whl.
File metadata
- Download URL: fftl-2025.1.1-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52ceecd293cf7249ceda7db8d07692cffc2a65fadb0d0379e2496a1fbe245812
|
|
| MD5 |
d9a6b1ff751b7bb578f505f30ddbfefe
|
|
| BLAKE2b-256 |
4b24792de0054f900aa0c305e5b804173dca8b6d840c088f0a54754142b6fd22
|
Provenance
The following attestation bundles were made for fftl-2025.1.1-py3-none-any.whl:
Publisher:
release.yml on ntessore/fftl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fftl-2025.1.1-py3-none-any.whl -
Subject digest:
52ceecd293cf7249ceda7db8d07692cffc2a65fadb0d0379e2496a1fbe245812 - Sigstore transparency entry: 210255675
- Sigstore integration time:
-
Permalink:
ntessore/fftl@8191b3a5c2420c5ba732617e5bae18b3bf9237ba -
Branch / Tag:
refs/tags/v2025.1.1 - Owner: https://github.com/ntessore
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8191b3a5c2420c5ba732617e5bae18b3bf9237ba -
Trigger Event:
release
-
Statement type: