


simtb_spm_hrf() - Returns a hemodynamic response function
USAGE:
>> [hrf,p] = simtb_spm_hrf(RT,[p]);
INPUT:
RT - scan repeat time
p - 1x7 vector of parameters for the response function (two gamma functions)
(default value, in seconds)
p(1) - delay of response (relative to onset) (6)
p(2) - delay of undershoot (relative to onset) (16)
p(3) - dispersion of response (1)
p(4) - dispersion of undershoot (1)
p(5) - ratio of response to undershoot (6)
p(6) - onset (seconds) (0)
p(7) - length of kernel (seconds) (32)
OUTPUT:
hrf - hemodynamic response function
p - parameters of the response function
_______________________________________________________________________
Copyright (C) 2005 Wellcome Department of Imaging Neuroscience