HRFKernel#
- class brainmass.HRFKernel(duration=Quantity(20., 's'))#
Base class for hemodynamic response function (HRF) kernels.
A kernel is a closed-form function of time \(h(t)\) defining the hemodynamic impulse response convolved with neural activity to form the BOLD signal (see
HRFBold). Subclasses implement__call__().- Parameters:
duration (brainunit.Quantity) – Temporal support of the kernel (how far out \(h(t)\) is evaluated when building a convolution grid). Default
20 * u.second.
Notes
Calling a kernel evaluates \(h(t)\) on a time grid. The grid may be a
brainunit.Quantity(any time unit) or a plain array, which is interpreted as milliseconds. The returned \(h(t)\) is a dimensionless array.See also
HRFBoldconvolution BOLD observation that consumes a kernel.