construct a regressor
object that can be used to generate regression variables
from a set of onset times and a hemodynamic response function. A regressor
can be
evaluated at a set of times to generate a time-course appropriate for modeling an fMRI response.
Arguments
- onsets
the event onsets in seconds
- hrf
a hemodynamic response function, e.g.
HRF_SPMG1
or costumHRF
- duration
duration of events (default is 0)
- amplitude
scaling vector (default is 1)
- span
the temporal window of the impulse response function (default is 24)
- summate
whether to summate hrf amplitude as a function of the duration of an event.