Doxygen Source Code Documentation
spm_bf.m File Reference
Go to the source code of this file.
|
Functions |
| p (1)-delay of response(relative to onset) 6-gamd in waver-GAM%p(2)-delay of undershoot(relative to onset) 16%p(3)-dispersion of response 1%p(4)-dispersion of undershoot 1 X%p(5)-ratio of response to undershoot 6 X%p(6)-onset(seconds) 0-gamd%p(7)-length of kernel(seconds) 32 p |
| p (6) |
Variables |
| function [err, bf] |
Bethesda MD Define the function
name for easy referencing | FuncName = 'spm_bf.m' |
Debug Flag | DBG = 1 |
initailize return variables | err = 1 |
default | parameters [bf1 p] = spm_hrf(TR,p) |
get gamma hrf from SPM function
spm_hrf | dp = 1 |
for calculating time derivative | bf2 = (bf1 - spm_hrf(TR,p))/dp |
| D = (bf(:,1) - spm_hrf(TR,p))/dp |
time derivative | bf = [bf1 bf2] |
| return |
Function Documentation
Variable Documentation
time derivative bf = [bf1 bf2] |
|
for calculating time derivative bf2 = (bf1 - spm_hrf(TR,p))/dp |
|
Bethesda MD Define the function name for easy referencing FuncName = 'spm_bf.m' |
|
|
Initial value:
Definition at line 1 of file spm_bf.m. |