fftshift¶
-
shampoo.fftshift(x, additional_shift=None, axes=None)[source] [edit on github]¶ Shift the zero-frequency component to the center of the spectrum, or with some additional offset from the center.
This is a more generic fork of
fftshift, which doesn’t support additional shifts.Parameters: x : array_like
Input array.
additional_shift : list of length
MDesired additional shifts in
xandydirections respectivelyaxes : int or shape tuple, optional
Axes over which to shift. Default is None, which shifts all axes.
Returns: y :
ndarrayThe shifted array.