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
To install mkl_fft Pypi package please use following command:
python -m pip install --index-url https://pypi.anaconda.org/intel/simple 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.6-58-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16121bd337575767e790aa5a9662d0d46f1166d868bc617209e955afccf1d9a8 |
|
MD5 | 72e93999730d8b42accebcba8a93bc32 |
|
BLAKE2b-256 | 3605bcceedfa25f8a14bb8ed63f3606312d2ed05035b85de924e2476eeb885db |
Hashes for mkl_fft-1.3.6-58-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7497c92594ba07a82eecd3fbb5d39263b51a371b028e36d108caafea42308f37 |
|
MD5 | 2d7d3376c71abac203807e751754f3e5 |
|
BLAKE2b-256 | 1163e064ebc2bebce6ffc0916bbcfa205bff40b64c372482f7b78a1ec037cc45 |
Hashes for mkl_fft-1.3.6-58-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2d566c9f344b992a1b5a730c03cf615aa3c1597e15ac9c4c590983294cc1ebc |
|
MD5 | 602997778da046fb5899e12a3bf0c72b |
|
BLAKE2b-256 | 75d6b9ae096653dff18d688a2e2f6bfc50ffe4c200baba9ba7a8d8049f8a7dea |
Hashes for mkl_fft-1.3.6-58-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efff573334cff2df22aa9a616de0faccab318d980a13922c2c74162b57bff824 |
|
MD5 | 35e6cda174329dd336762bf553ba79aa |
|
BLAKE2b-256 | c27b30be335bf4fad08fbb4fd065fd25d09ab3353cf5ae8c4af30f7d1d044852 |
Hashes for mkl_fft-1.3.6-58-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83cca626e630b892989a0434851bbad8c6e6ef5103d3eb5d3377ee8b4de24706 |
|
MD5 | b03de4f05524a1f426e2f525a95f31b7 |
|
BLAKE2b-256 | 6480459c8e617ab78896dad110079f27d2a7fc62d24473237473f18b1e239796 |
Hashes for mkl_fft-1.3.6-58-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cb6ed37c4acee6b3e1b13b3693812389be38c75e892d0874fa03eca05e5bbec |
|
MD5 | a532c1140adf6dc2243c10c0383111e8 |
|
BLAKE2b-256 | 923e138dfac8a8abdd312f0bf4468ad064b53638b6f5695774625db69db9f20a |