Home > simtb_v18 > sim > simtb_spm_hrf.m

simtb_spm_hrf

PURPOSE ^

simtb_spm_hrf() - Returns a hemodynamic response function

SYNOPSIS ^

function [hrf,p] = simtb_spm_hrf(RT,P)

DESCRIPTION ^

 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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 29-Mar-2011 15:45:29 by m2html © 2005