Skip to content

AFNI/NIfTI Server

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

Doxygen Source Code Documentation


TaskTest.m File Reference

Go to the source code of this file.


Functions

for each there are (polort+1) paramters in the baseline model fprintf(1
id are: (id n)
 for (i=1:1:N_tasks)
 fprintf (1,'No.%i task vector= ', i)
 tasktest (i).name
 for (j=1:1:N_basis)
 mtrx (i,(i-1)*N_basis+j+(polort+1)*N_runs)
Assign one for each basis
function of every task 
mtrx ((i-1)*N_basis+j,(i-1)*N_basis+j+(polort+1)*N_runs)
 for (k=1:1:(polort+1)*N_runs+N_basis *N_tasks+N_base)
 fprintf (1, '%g', mtrx((i-1)*N_basis+j, k))
 fprintf (fid, '%g ', mtrx((i-1)*N_basis+j, k))
end fprintf (fid, '\n')
end fprintf (1, '%g', mtrx(i, k))
 fprintf (fid, '%g ', mtrx(i, k))
end fprintf (1, '\n')
 fclose (fid)

Variables

 function [err, tasktest]
Bethesda Maryland Define the
function name for easy referencing 
FuncName = 'TaskTest'
Debug Flag DBG = 1
initailize return variables err = 1
Create a matrix so that dDeconvolve
uses for regressor test 
mtrx = zeros(N_tasks, (polort+1)*N_runs+N_basis*N_tasks+N_base)
for each run
 fid = fopen(tasktest(i).name, 'w')
 return

Function Documentation

for each there are polort 1  ) 
 

id are: id  n  )  [virtual]
 

fclose fid   ) 
 

for = 1:1:(polort+1)*N_runs+N_basis*N_tasks+N_base  ) 
 

for j  = 1:1:N_basis  ) 
 

for = 1:1:N_tasks  ) 
 

end fprintf ,
'\n
 

fprintf fid  ,
'%g ,
mtrx(i, k) 
 

end fprintf ,
'%g ,
mtrx(i, k) 
 

end fprintf fid  ,
'\n
 

fprintf fid  ,
'%g ,
mtrx((i-1)*N_basis+j, k) 
 

fprintf ,
'%g ,
mtrx((i-1)*N_basis+j, k) 
 

fprintf ,
'No.%i task  vector = ',
 

Assign one for each basis function of every task mtrx (i-1)*N_basis j,
(i-1)*N_basis+j+(polort+1)*  N_runs
 

mtrx ,
(i-1)*N_basis+j+(polort+1)*  N_runs
 

tasktest  ) 
 


Variable Documentation

Debug Flag DBG = 1
 

Definition at line 35 of file TaskTest.m.

end err = 1
 

Definition at line 66 of file TaskTest.m.

fid = fopen(tasktest(i).name, 'w')
 

Definition at line 48 of file TaskTest.m.

Bethesda Maryland Define the function name for easy referencing FuncName = 'TaskTest'
 

Definition at line 32 of file TaskTest.m.

function[err, tasktest]
 

Initial value:

 TaskTest (N_runs, polort, N_basis, N_tasks, Task, N_base)
%
%   [err,] = ContrTest ()
%
%Purpose:
%   
% Generate matrix for the -glt option in 3dDevolve  
%   
%Input Parameters:
%   
%   
%   
%Output Parameters:
%   err : 0 No Problem
%       : 1  Problems
%   
%   
%      
%Key Terms:
%   
%More Info :
%   
%   
%   
%
%     Author : Gang Chen
%     Date : Mon Jul 21 18:25:31 EDT 2003
%     SSCC/NIMH/ National Institutes of Health

Definition at line 1 of file TaskTest.m.

Create a matrix so that dDeconvolve uses for regressor test mtrx = zeros(N_tasks, (polort+1)*N_runs+N_basis*N_tasks+N_base)
 

Definition at line 42 of file TaskTest.m.

return
 

Definition at line 67 of file TaskTest.m.

for each run
 

Definition at line 42 of file TaskTest.m.

 

Powered by Plone

This site conforms to the following standards: