pyeeg.simulate.dummy_trf_kernel

pyeeg.simulate.dummy_trf_kernel(tmin=-0.2, tmax=0.5, srate=100, tloc=0.1, sigma=0.1, kernel_type='gaussian')

Dummy kernel for testing purposes.

Parameters:
  • tmin (float) – The minimum time of the kernel.

  • tmax (float) – The maximum time of the kernel.

  • srate (int) – The sampling rate of the kernel.

  • tloc (float) – The location of the peak of the kernel.

  • sigma (float) – The standard deviation, or width, of the kernel.

Returns:

kernel – The kernel. Shape (n,).

Return type:

array_like