scipy.fftpack.
fft2#
- scipy.fftpack.fft2(x, shape=None, axes=(-2, -1), overwrite_x=False)[Quelle]#
2-D diskrete Fouriertransformation.
Gibt die 2-D diskrete Fouriertransformation des 2-D-Arguments x zurück.
Siehe auch
fftnfür detaillierte Informationen.
Beispiele
>>> import numpy as np >>> from scipy.fftpack import fft2, ifft2 >>> y = np.mgrid[:5, :5][0] >>> y array([[0, 0, 0, 0, 0], [1, 1, 1, 1, 1], [2, 2, 2, 2, 2], [3, 3, 3, 3, 3], [4, 4, 4, 4, 4]]) >>> np.allclose(y, ifft2(fft2(y))) True