dask 2021.10.0

ParametersReturnsBackRef
ifftshift(x, axes=None)

This docstring was copied from numpy.fft.ifftshift.

Some inconsistencies with the Dask version may exist.

Parameters

x : array_like

Input array.

axes : int or shape tuple, optional

Axes over which to calculate. Defaults to None, which shifts all axes.

Returns

y : ndarray

The shifted array.

The inverse of fftshift . Although identical for even-length x, the functions differ by one sample for odd-length x.

See Also

fftshift

Shift zero-frequency component to the center of the spectrum.

Examples

This example is valid syntax, but we were not able to check execution
>>> freqs = np.fft.fftfreq(9, d=1./9).reshape(3, 3)  # doctest: +SKIP
... freqs # doctest: +SKIP array([[ 0., 1., 2.], [ 3., 4., -4.], [-3., -2., -1.]])
This example is valid syntax, but we were not able to check execution
>>> np.fft.ifftshift(np.fft.fftshift(freqs))  # doctest: +SKIP
array([[ 0.,  1.,  2.],
       [ 3.,  4., -4.],
       [-3., -2., -1.]])
See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

dask.array.fft.fftshift

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /dask/array/fft.py#294
type: <class 'function'>
Commit: