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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

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

File details

Details for the file fastfft-0.2.3.tar.gz.

File metadata

  • Download URL: fastfft-0.2.3.tar.gz
  • Upload date:
  • Size: 43.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for fastfft-0.2.3.tar.gz
Algorithm Hash digest
SHA256 209d777c902025d10cb40e55b338fc5e48b427410068271414f107406adebaea
MD5 79ae93056ab70dcbe56fc9d52e11f461
BLAKE2b-256 fd0545d7a4a6256ab7d8af5be90925cac2b320216a9f61343aaef44b26aabfc3

See more details on using hashes here.

File details

Details for the file fastfft-0.2.3-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fastfft-0.2.3-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 83fb1a7b813bd6e7d38555b587eaf47ff690c6b9861c6b17f9099edb1836c9cd
MD5 804dec376c7e3b06ad4b024b2e28eaa5
BLAKE2b-256 bd26298ae5874939d0377594f8e80f8b170aded4360f5abbeccc561868438d49

See more details on using hashes here.

Supported by

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