Home > fmri > fsl > create_ev.m

create_ev

PURPOSE ^

ev=create_ev;

SYNOPSIS ^

function ev=create_ev

DESCRIPTION ^

 ev=create_ev;

 Creates a regressor for use in FEAT model

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function ev=create_ev
0002 % ev=create_ev;
0003 %
0004 % Creates a regressor for use in FEAT model
0005 
0006 % 2005 Petr Janata
0007 
0008 
0009 % Basic waveform shape (EV 1)
0010 % 0 : Square
0011 % 1 : Sinusoid
0012 % 2 : Custom (1 entry per volume)
0013 % 3 : Custom (3 column format)
0014 % 4 : Interaction
0015 ev.shape=0;
0016 
0017 % Convolution (EV 1)
0018 % 0 : None
0019 % 1 : Gaussian
0020 % 2 : Gamma
0021 % 3 : Double-Gamma HRF
0022 % 4 : Gamma basis functions
0023 % 5 : Sine basis functions
0024 % 6 : FIR basis functions
0025 ev.convolve=0;
0026 
0027 % Convolve phase (EV 1)
0028 ev.convolve_phase=0;
0029 
0030 % Apply temporal filtering (EV 1)
0031 ev.tempfilt_yn=0;
0032 
0033 % Add temporal derivative (EV 1)
0034 ev.deriv_yn=0;
0035 
0036 %
0037 % Different EV shapes take different sets of parameters
0038 %
0039 
0040 %
0041 % Parameters for square waves
0042 %
0043 
0044 % Skip (EV 1)
0045 ev.skip=0;
0046 
0047 % Off (EV 1)
0048 ev.off=[];
0049 
0050 % On (EV 1)
0051 ev.on=[];
0052 
0053 % Phase (EV 1)
0054 ev.phase=[];
0055 
0056 % Stop (EV 1)
0057 ev.stop=[];
0058 
0059 %
0060 % Parameters for custom EVs
0061 %
0062 ev.fname='';
0063 ev.name='';
0064 
0065 % The orthogonalization vector has to obviously be set once the EVs are all known
0066 % Orthogonalise EV 1 wrt EV 0
0067 ev.ortho = [];
0068 
0069 %
0070 % Convolution parameters
0071 %
0072 ev.gausssigma = 2.8;
0073 ev.gaussdelay = 3;

Generated on Sat 25-May-2019 04:00:51 by m2html © 2003