Skip to main content

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

  1. Hamilton A. J. S., 2000, MNRAS, 312, 257 (astro-ph/9905191)
  2. Talman J. D., 1978, J. Comp. Phys., 29, 35

Metadata

Release files for fftl 2025.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fftl 2025.1.1
File Size Uploaded
fftl-2025.1.1.tar.gz 10.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fftl 2025.1.1
File Interpreter ABI Platform
fftl-2025.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 19.0 kB

Release files / fftl-2025.1.1.tar.gz

Download URL fftl-2025.1.1.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
aee8508f510a130fedc3a4e9ed3872ef5548ac539da6f7c4673fd4ca44e11902
BLAKE2b-256 checksum
How to use checksums
b8eec850ff6cdfa43b3e180d0f26fa152ea2e10c7e7a74194154cfb8fb8e6eab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 11, 2025.

Transparency log

Release files / fftl-2025.1.1-py3-none-any.whl

Download URL fftl-2025.1.1-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52ceecd293cf7249ceda7db8d07692cffc2a65fadb0d0379e2496a1fbe245812
BLAKE2b-256 checksum
How to use checksums
4b24792de0054f900aa0c305e5b804173dca8b6d840c088f0a54754142b6fd22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 11, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

2025.1.1 This release

2 release files

2025.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page