Skip to main content

MKL-based FFT transforms for NumPy arrays

Project description

mkl_fft -- a NumPy-based Python interface to Intel (R) MKL FFT functionality

Build Status

mkl_fft started as a part of Intel (R) Distribution for Python* optimizations to NumPy, and is now being released as a stand-alone package. It can be installed into conda environment using

   conda install -c intel mkl_fft

Since MKL FFT supports performing discrete Fourier transforms over non-contiguously laid out arrays, MKL can be directly used on any well-behaved floating point array with no internal overlaps for both in-place and not in-place transforms of arrays in single and double floating point precision.

This eliminates the need to copy input array contiguously into an intermediate buffer.

mkl_fft directly supports N-dimensional Fourier transforms.

More details can be found in SciPy 2017 conference proceedings: https://github.com/scipy-conference/scipy_proceedings/tree/2017/papers/oleksandr_pavlyk


It implements the following functions:

Complex transforms, similar to those in scipy.fftpack:

fft(x, n=None, axis=-1, overwrite_x=False)

ifft(x, n=None, axis=-1, overwrite_x=False)

fft2(x, shape=None, axes=(-2,-1), overwrite_x=False)

ifft2(x, shape=None, axes=(-2,-1), overwrite_x=False)

fftn(x, n=None, axes=None, overwrite_x=False)

ifftn(x, n=None, axes=None, overwrite_x=False)

Real transforms

rfft(x, n=None, axis=-1, overwrite_x=False) - real 1D Fourier transform, like scipy.fftpack.rfft

rfft_numpy(x, n=None, axis=-1) - real 1D Fourier transform, like numpy.fft.rfft

rfft2_numpy(x, s=None, axes=(-2,-1)) - real 2D Fourier transform, like numpy.fft.rfft2

rfftn_numpy(x, s=None, axes=None) - real 2D Fourier transform, like numpy.fft.rfftn

... and similar irfft* functions.

The package also provides mkl_fft._numpy_fft and mkl_fft._scipy_fft interfaces which provide drop-in replacements for equivalent functions in NumPy and SciPy respectively.


To build mkl_fft from sources on Linux:

  • install a recent version of MKL, if necessary;
  • execute source /path/to/mklroot/bin/mklvars.sh intel64 ;
  • execute pip install .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

mkl_fft-1.3.0-1-cp38-cp38-win_amd64.whl (253.5 kB view details)

Uploaded CPython 3.8Windows x86-64

mkl_fft-1.3.0-1-cp38-cp38-manylinux2014_x86_64.whl (250.9 kB view details)

Uploaded CPython 3.8

mkl_fft-1.3.0-1-cp37-cp37m-win_amd64.whl (244.8 kB view details)

Uploaded CPython 3.7mWindows x86-64

mkl_fft-1.3.0-1-cp37-cp37m-manylinux2014_x86_64.whl (240.2 kB view details)

Uploaded CPython 3.7m

mkl_fft-1.3.0-0-cp37-cp37m-win_amd64.whl (244.8 kB view details)

Uploaded CPython 3.7mWindows x86-64

mkl_fft-1.3.0-0-cp37-cp37m-manylinux2014_x86_64.whl (240.2 kB view details)

Uploaded CPython 3.7m

File details

Details for the file mkl_fft-1.3.0-1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: mkl_fft-1.3.0-1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 253.5 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.9

File hashes

Hashes for mkl_fft-1.3.0-1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 f78da6bf62d2d381150cd707c5aa702a94864f561d2e4f86e6d220b4ad63516c
MD5 fbe1f773d261f7c3318aee20857c3912
BLAKE2b-256 da2e8e4bc8155ab615fa30608867fcd3dca5f20a89a768a9477393192147361a

See more details on using hashes here.

File details

Details for the file mkl_fft-1.3.0-1-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

  • Download URL: mkl_fft-1.3.0-1-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 250.9 kB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.9

File hashes

Hashes for mkl_fft-1.3.0-1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4d4940f6c5a0b98fef98b62c94a4aa73c8c7503ee47466f2973e24876c783f4f
MD5 340b998e5bcda5ee01393a30c81a9d1e
BLAKE2b-256 882ca54b6b31a3f44783a3ecde93107158a3921bbdff1daf433bb5b3b675f5e9

See more details on using hashes here.

File details

Details for the file mkl_fft-1.3.0-1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: mkl_fft-1.3.0-1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 244.8 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for mkl_fft-1.3.0-1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 d72d4018c767af3956fdce3fb2f68287401f5357b906c034799195d0ab56dadf
MD5 b3b3fbe2cc8c39effb34d9d1525f30a0
BLAKE2b-256 41af189771a8ccb1db0a41465920ff590d51c8fb2ff06e850a585169ebb653c4

See more details on using hashes here.

File details

Details for the file mkl_fft-1.3.0-1-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: mkl_fft-1.3.0-1-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 240.2 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for mkl_fft-1.3.0-1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f18898705b80a3f63818cf9751b1b5f4e4e67c050fb3944a37d81719ce9a3db0
MD5 7cfe4ed9de88ccc837db50bde1faf495
BLAKE2b-256 f33efdc76badb389a446ab28df79f243989ec3b5219c033a55d5ac37eda3ce32

See more details on using hashes here.

File details

Details for the file mkl_fft-1.3.0-0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: mkl_fft-1.3.0-0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 244.8 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for mkl_fft-1.3.0-0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 aeb830f0e2f6ded283d5b5222a7ddaca3593038645f55c5715593e89f737177b
MD5 7f0b8b4cc87b9caccba9b7b60e602147
BLAKE2b-256 681fb85bf61d06e2373e8a95115c2e2af09f8e2bb9fc5dea60fc67c522f0ffdf

See more details on using hashes here.

File details

Details for the file mkl_fft-1.3.0-0-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: mkl_fft-1.3.0-0-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 240.2 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for mkl_fft-1.3.0-0-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9ed9ce83a919453735d612ed081ac04a9046739974681300af01672849a64113
MD5 f06075b55253d170d7677c695cfec19c
BLAKE2b-256 a0301012600995f85a53ce479340d17871d2fd9e264f44b42c49efeb54af9d24

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