A hemodynamic response function based on the SPM canonical double gamma parameterization.
Arguments
- t
A vector of time points.
- P1
The first exponent parameter (default: 5).
- P2
The second exponent parameter (default: 15). The undershoot is
t^P2 * exp(-t) / (6 * factorial(P2)), one sixth of a gamma density with shapeP2 + 1and unit rate.- A1
Amplitude scaling factor for the positive gamma function component; normally fixed at 1/120
Details
This function models the hemodynamic response using the canonical double gamma parameterization in the SPM software. The HRF is defined by a linear combination of two gamma functions with different exponents (P1 and P2) and amplitudes (A1 and A2). It is commonly used in fMRI data analysis to estimate the BOLD (blood-oxygen-level-dependent) signal changes associated with neural activity.
See also
Other hrf_functions:
hrf_basis_lwu(),
hrf_boxcar(),
hrf_bspline(),
hrf_gamma(),
hrf_gaussian(),
hrf_inv_logit(),
hrf_lwu(),
hrf_mexhat(),
hrf_sine(),
hrf_time(),
hrf_weighted()
