bundles / scipy latest / scipy / signal / _signaltools / _freq_domain_conv
function
scipy.signal._signaltools:_freq_domain_conv
Signature
def _freq_domain_conv ( xp , in1 , in2 , axes , shape , calc_fast_len = False ) Summary
Convolve two arrays in the frequency domain.
Extended Summary
This function implements only base the FFT-related operations. Specifically, it converts the signals to the frequency domain, multiplies them, then converts them back to the time domain. Calculations of axes, shapes, convolution mode, etc. are implemented in higher level-functions, such as fftconvolve and oaconvolve. Those functions should be used instead of this one.
Parameters
in1: array_likeFirst input.
in2: array_likeSecond input. Should have the same number of dimensions as
in1.axes: array_like of intsAxes over which to compute the FFTs.
shape: array_like of intsThe sizes of the FFTs.
calc_fast_len: bool, optionalIf
True, set each value ofshapeto the next fast FFT length. Default isFalse, useaxesas-is.
Returns
out: arrayAn N-dimensional array containing the discrete linear convolution of
in1within2.
Aliases
-
scipy.signal._signaltools._freq_domain_conv