Skip to main content

Discrete Fourier transform implementation by the analog of the Cooley-Tukey algorithm.

Project description

Fast fourier transform algorithm implementation

Installation

Python 3.8.15 required for OS X Python 3.5 required for Linux

OS X

Simply, run

pip install fastfft

Linux

Install some additional packages

sudo apt-get install build-essential
sudo apt install python-dev gcc
sudo apt-get install python3-dev

And install the package

pip install fastfft

Usage

Just import and use

from fastfft.fft import fft2, ifft2
matrix = [
    [1.0, 2.0],
    [3.0, 4.0],
]
image = fft2(matrix)
original = ifft2(image)

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

fastfft-0.2.3.tar.gz (43.2 kB view hashes)

Uploaded Source

Built Distribution

fastfft-0.2.3-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (199.5 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.24+ x86-64 manylinux: glibc 2.28+ x86-64

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