File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 22% tutorial and will run the basic preprocessing, FFX and contrasts on it.
33% Results might be a bit different from those in the manual as some
44% default options are slightly different in this pipeline (e.g use of FAST
5- % instead of AR(1))
5+ % instead of AR(1), motion regressors added )
66
77clear
88clc
1414% URL of the data set to download
1515URL = ' http://www.fil.ion.ucl.ac.uk/spm/download/data/MoAEpilot/MoAEpilot.bids.zip' ;
1616
17- WD = pwd ; % the directory with this script becomes the current directory
18- addpath(genpath(WD )) % we add all the subfunctions that are in the sub directories
17+ % directory with this script becomes the current directory
18+ WD = fileparts(mfilename(' fullpath' ));
19+
20+ % we add all the subfunctions that are in the sub directories
21+ addpath(genpath(fullfile(WD , ' ..' )))
1922
2023
2124%% Set options
4043
4144% specify the model file that contains the contrasts to compute
4245opt = rmfield(opt , ' model' );
43- opt.model.univariate.file = fullfile(WD , ' model-MoAE_smdl.json' );
46+ opt.model.univariate.file = fullfile(WD , ' demo ' , ' model-MoAE_smdl.json' );
4447
4548
4649%% Get data
File renamed without changes.
Original file line number Diff line number Diff line change 2222
2323
2424
25- % The directory where the derivatives are located
25+ % The directory where the data are located
2626
2727% opt.dataDir = '/Users/mohamed/Desktop/MotionWorkshop/raw';
2828% opt.dataDir = '/Users/mohamed/Desktop/Data/raw';
You can’t perform that action at this time.
0 commit comments