torchsig.utils.dsp.convolve

torchsig.utils.dsp.convolve(signal: ndarray, taps: ndarray) ndarray[source]

Wrapper function to implement convolution()

A wrapped version of SciPy’s convolve(), which discards trasition regions resulting from the convolution process.

Parameters:
  • signal (np.ndarray) – The input signal

  • taps (np.ndarray) – The filter weights

Returns:

The convolution output

Return type:

np.ndarray