File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 1717 cfg.debug.transpWin = false ; % To test with trasparent full size screen
1818
1919 cfg.verbose = 1 ;
20- cfg.skipSyncTests = 0 ;
20+ cfg.skipSyncTests = 1 ;
2121
22- cfg.audio.devIdx = 3 ; % 5 %11
22+ % cfg.audio.devIdx = 5 ; %3 %11
2323
2424 %% Engine parameters
2525
3737 cfg = setMRI(cfg );
3838 cfg.suffix.acquisition = ' 0p75mmEv' ;
3939
40- cfg.pacedByTriggers.do = false ;
40+ cfg.pacedByTriggers.do = true ;
4141
4242 %% Experiment Design
4343
4747 cfg.design.names = {' static' ; ' motion' };
4848 % 0: L--R--L; 180: R--L--R;
4949 cfg.design.motionDirections = [0 180 ];
50- cfg.design.nbRepetitions = 21 ;
50+ cfg.design.nbRepetitions = 22 ;
5151 cfg.design.nbEventsPerBlock = 6 ;
5252
5353 %% Timing
7777 cfg.pacedByTriggers.nbTriggers = 1 ;
7878
7979 cfg.timing.eventDuration = cfg .mri .repetitionTime / 2 - 0.04 ; % second
80-
80+
81+ % Time between blocs in nb of triggers (remember to consider the nb trigger to wait + 1)
82+ cfg.timing.triggerIBI = 4 ;
8183 % Time between blocs in secs
8284 cfg.timing.IBI = 0 ;
8385 % Time between events in secs
154156function cfg = setMRI(cfg )
155157 % letter sent by the trigger to sync stimulation and volume acquisition
156158 cfg.mri.triggerKey = ' t' ;
157- cfg.mri.triggerNb = 5 ;
159+ cfg.mri.triggerNb = 0 ;
158160
159161 cfg.mri.repetitionTime = 1.8 ;
160162
You can’t perform that action at this time.
0 commit comments