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
Release history Release notifications | RSS feed
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)
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
209d777c902025d10cb40e55b338fc5e48b427410068271414f107406adebaea
|
|
| MD5 |
79ae93056ab70dcbe56fc9d52e11f461
|
|
| BLAKE2b-256 |
fd0545d7a4a6256ab7d8af5be90925cac2b320216a9f61343aaef44b26aabfc3
|
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
- Download URL: fastfft-0.2.3-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 199.5 kB
- Tags: CPython 3.9, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83fb1a7b813bd6e7d38555b587eaf47ff690c6b9861c6b17f9099edb1836c9cd
|
|
| MD5 |
804dec376c7e3b06ad4b024b2e28eaa5
|
|
| BLAKE2b-256 |
bd26298ae5874939d0377594f8e80f8b170aded4360f5abbeccc561868438d49
|