pyfftw - The core

FFTW Class

Wisdom Functions

Functions for dealing with FFTW’s ability to export and restore plans, referred to as wisdom. For further information, refer to the FFTW wisdom documentation.

Utility Functions

pyfftw.simd_alignment

An integer giving the optimum SIMD alignment in bytes, found by inspecting the CPU (e.g. if AVX is supported, its value will be 32).

This can be used as n in the arguments for byte_align(), empty_aligned(), zeros_aligned(), and ones_aligned() to create optimally aligned arrays for the running platform.