Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

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

p  ) 
 

p  ) 
 


Variable Documentation

time derivative bf = [bf1 bf2]
 

Definition at line 55 of file spm_bf.m.

for calculating time derivative bf2 = (bf1 - spm_hrf(TR,p))/dp
 

Definition at line 53 of file spm_bf.m.

D = (bf(:,1) - spm_hrf(TR,p))/dp
 

Definition at line 54 of file spm_bf.m.

Debug Flag DBG = 1
 

Definition at line 35 of file spm_bf.m.

get gamma hrf from SPM function spm_hrf dp = 1
 

Definition at line 51 of file spm_bf.m.

combine the two err = 1
 

Definition at line 57 of file spm_bf.m.

Bethesda MD Define the function name for easy referencing FuncName = 'spm_bf.m'
 

Definition at line 32 of file spm_bf.m.

function[err, bf]
 

Initial value:

 spm_bf (TR)
%
%   [err,] = spm_bf ()
%
%Purpose:
%   
%   
%   
%Input Parameters:
%   
%   
%   
%Output Parameters:
%   err : 0 No Problem
%       : 1  Problems
%   
%   
%      
%Key Terms:
%   
%More Info :
%   
%   
%   
%
%     Author : Gang Chen
%     Date : Mon Oct 27 17:13:26 EST 2003
%     SSCC/NIMH/ National Institutes of Health

Definition at line 1 of file spm_bf.m.

default parameters[bf1 p] = spm_hrf(TR,p)
 

Definition at line 50 of file spm_bf.m.

return
 

Definition at line 58 of file spm_bf.m.

 

Powered by Plone

This site conforms to the following standards: