Sorry,
I had forgotten to include the file...
Lukas
Lukas Scheef, MD, MSc
MR-Tomography
Department of Radiology
University of Bonn
Sigmund-Freud-Straße 25
D-53105 Bonn
Fax: +49-228-287-5598
Phone:+49-228-287-5960
E-mail: [log in to unmask]
%---------------------------------------------------------------
% user variables defined here
%---------------------------------------------------------------
p = 'C:\Lukes_Data\Test-SPM-BAtch\Conditions.mat'
load(p);
V1 = spm_get('files','C:\Lukes_Data\Test-SPM-BAtch\ADE-orig','*.img');
cond_names = {'lanv' 'lapv' 'hapv' 'hanv' 'NO_lanv' 'NO_lapv' 'NO_hapv' 'NO_hanv'};
%---------------------------------------------------------------
% batch variables defined here for analysis 'model'
%---------------------------------------------------------------
model(1) = struct( ...
'types', 1, ...
'nsess', 2, ...
'nscans', [100 200], ...
'files', {V1}, ...
'RT', 3000, ...
'conditions_nb', 8, ...
'replicated', 0, ...
'conditions', [1:8], ...
'parametrics_type', {{'none','none','none','none','none','none','none','none'}}, ...
'parametrics', [], ...
'regressors_nb', [0], ...
'regressors', [], ...
'global_effects', {'Scaling'}, ...
'HF_fil', 'specify', ...
'HF_cut', [120], ...
'LF_fil', 'Gaussian', ...
'LF_cut', [4], ...
'int_corr', 'AR(1)', ...
'stop_writing', [0], ...
'trial_fcon', [0], ...
'now_later', [0], ...
'stochastics_flag', [0 0], ...
'stochastics', [] ...
);
%-------------------------------------------
conditions(1) = struct( ...
'names', {cond_names}, ...
'onsets', {{LANV, LAPV, HAPV, HANV, no_lanv, no_lapv, no_hapv, no_hanv}}, ...
'types', {{'events','events','events','events','events', ...
'events','events','events'}}, ...
'bf_ev', [1 1 1 1 1 1 1 1 ], ...
'volterra', 0, ...
'variable_dur', 0 ...
);
%-------------------------------------------
bf_ev(1) = struct( ...
'ev_type', 3, ...
'win_len', [ ] , ...
'order', [ ] );
|