eelbrain.convolve

eelbrain.convolve(h, x, ds=None, name=None)

Convolve h and x along the time dimension

Parameters:
h : NDVar | sequence of NDVar

Kernel.

x : NDVar | sequence of NDVar

Data to convolve, corresponding to h.

ds : Dataset

If provided, elements of x can be specified as str.

name : str

Name for output variable.

Returns:
y : NDVar

Convolution, with same time dimension as x.