Skip to main content

generalised FFTLog

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

  1. Hamilton A. J. S., 2000, MNRAS, 312, 257 (astro-ph/9905191)
  2. 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

fftl-2022.7.15.tar.gz (6.5 kB view details)

Uploaded Source

File details

Details for the file fftl-2022.7.15.tar.gz.

File metadata

  • Download URL: fftl-2022.7.15.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for fftl-2022.7.15.tar.gz
Algorithm Hash digest
SHA256 dde6f491dc39f29fcc3064238efe236bf741432c712973611baae083f3eb755b
MD5 744182fa99b4004a6fe7c3784b28208a
BLAKE2b-256 a72a678a5567799188494da63bb336f22c4fcf21b7d9839867385276242ca3f5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page