MKL-based FFT transforms for NumPy arrays
Project description
mkl_fft
-- a NumPy-based Python interface to Intel (R) MKL FFT functionality
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
Built Distributions
Hashes for mkl_fft-1.3.0-1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f78da6bf62d2d381150cd707c5aa702a94864f561d2e4f86e6d220b4ad63516c |
|
MD5 | fbe1f773d261f7c3318aee20857c3912 |
|
BLAKE2b-256 | da2e8e4bc8155ab615fa30608867fcd3dca5f20a89a768a9477393192147361a |
Hashes for mkl_fft-1.3.0-1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d4940f6c5a0b98fef98b62c94a4aa73c8c7503ee47466f2973e24876c783f4f |
|
MD5 | 340b998e5bcda5ee01393a30c81a9d1e |
|
BLAKE2b-256 | 882ca54b6b31a3f44783a3ecde93107158a3921bbdff1daf433bb5b3b675f5e9 |
Hashes for mkl_fft-1.3.0-1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d72d4018c767af3956fdce3fb2f68287401f5357b906c034799195d0ab56dadf |
|
MD5 | b3b3fbe2cc8c39effb34d9d1525f30a0 |
|
BLAKE2b-256 | 41af189771a8ccb1db0a41465920ff590d51c8fb2ff06e850a585169ebb653c4 |
Hashes for mkl_fft-1.3.0-1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f18898705b80a3f63818cf9751b1b5f4e4e67c050fb3944a37d81719ce9a3db0 |
|
MD5 | 7cfe4ed9de88ccc837db50bde1faf495 |
|
BLAKE2b-256 | f33efdc76badb389a446ab28df79f243989ec3b5219c033a55d5ac37eda3ce32 |
Hashes for mkl_fft-1.3.0-0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aeb830f0e2f6ded283d5b5222a7ddaca3593038645f55c5715593e89f737177b |
|
MD5 | 7f0b8b4cc87b9caccba9b7b60e602147 |
|
BLAKE2b-256 | 681fb85bf61d06e2373e8a95115c2e2af09f8e2bb9fc5dea60fc67c522f0ffdf |
Hashes for mkl_fft-1.3.0-0-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ed9ce83a919453735d612ed081ac04a9046739974681300af01672849a64113 |
|
MD5 | f06075b55253d170d7677c695cfec19c |
|
BLAKE2b-256 | a0301012600995f85a53ce479340d17871d2fd9e264f44b42c49efeb54af9d24 |