scipy 1.8.0 Pypi GitHub Homepage
Other Docs
ParametersReturns
_freq_domain_conv(in1, in2, axes, shape, calc_fast_len=False)

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_like

First input.

in2 : array_like

Second input. Should have the same number of dimensions as :None:None:`in1`.

axes : array_like of ints

Axes over which to compute the FFTs.

shape : array_like of ints

The sizes of the FFTs.

calc_fast_len : bool, optional

If :None:None:`True`, set each value of :None:None:`shape` to the next fast FFT length. Default is :None:None:`False`, use :None:None:`axes` as-is.

Returns

out : array

An N-dimensional array containing the discrete linear convolution of :None:None:`in1` with in2 .

Convolve two arrays in the frequency domain.

Examples

See :

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


GitHub : /scipy/signal/_signaltools.py#457
type: <class 'function'>
Commit: