hemolearn.convolution.make_toeplitz

hemolearn.convolution.make_toeplitz(v, n_times_valid)

Make Toeplitz matrix from given kernel to perform valid convolution.

Parameters
varray, shape (n_times_atom), HRF
n_times_validint, length of the temporal components