HRF {BayesfMRI} | R Documentation |
Canonical (double-gamma) HRF
Description
Calculate the HRF from a time vector and parameters. Optionally compute the first or second derivative of the HRF instead.
Usage
HRF(t, deriv = 0, a1 = 6, b1 = 0.9, a2 = 12, b2 = 0.9, c = 0.35)
Arguments
t |
time vector |
deriv |
|
a1 |
delay of response. Default: |
b1 |
response dispersion. Default: |
a2 |
delay of undershoot. Default: |
b2 |
dispersion of undershoot. Default: |
c |
scale of undershoot. Default: |
Value
HRF vector (or dHRF, or d2HRF) corresponding to time
Examples
downsample <- 100
HRF(seq(0, 30, by=1/downsample))
[Package BayesfMRI version 0.3.11 Index]