bundles / scipy 1.17.1 / scipy / signal / _signaltools / _init_freq_conv_axes
function
scipy.signal._signaltools:_init_freq_conv_axes
Signature
def _init_freq_conv_axes ( in1 , in2 , mode , axes , sorted_axes = False ) Summary
Handle the axes argument for frequency-domain convolution.
Extended Summary
Returns the inputs and axes in a standard form, eliminating redundant axes, swapping the inputs if necessary, and checking for various potential errors.
Parameters
in1: arrayFirst input.
in2: arraySecond input.
mode: str {'full', 'valid', 'same'}, optionalA string indicating the size of the output. See the documentation fftconvolve for more information.
axes: list of intsAxes over which to compute the FFTs.
sorted_axes: bool, optionalIf
True, sort the axes. Default isFalse, do not sort.
Returns
in1: arrayThe first input, possible swapped with the second input.
in2: arrayThe second input, possible swapped with the first input.
axes: list of intsAxes over which to compute the FFTs.
Aliases
-
scipy.signal._signaltools._init_freq_conv_axes