pysteps.cascade.decomposition.decomposition_fft¶
-
pysteps.cascade.decomposition.
decomposition_fft
(X, filter, **kwargs)¶ Decompose a 2d input field into multiple spatial scales by using the Fast Fourier Transform (FFT) and a bandpass filter.
Parameters: - X : array_like
Two-dimensional array containing the input field. All values are required to be finite.
- filter : dict
A filter returned by a method implemented in
pysteps.cascade.bandpass_filters
.
Returns: - out : ndarray
A dictionary described in the module documentation. The number of cascade levels is determined from the filter (see
pysteps.cascade.bandpass_filters
).
Other Parameters: - fft_method : str or tuple
A string or a (function,kwargs) tuple defining the FFT method to use (see
pysteps.utils.interface.get_method()
). Defaults to “numpy”.- MASK : array_like
Optional mask to use for computing the statistics for the cascade levels. Pixels with MASK==False are excluded from the computations.