@@ -75,6 +75,31 @@ Any details of the experiment can be changed in `setParameters.m` (e.g., experim
7575- Task(s)
7676 - Instructions
7777 - Task #1 parameters
78+
79+ #### Let the scanner pace the experiment
80+
81+ Set ` cfg.pacedByTriggers.do ` to ` true ` and you can then set all the details in this ` if ` block
82+
83+ ``` matlab
84+ % Time is here in in terms of number repetition time (i.e MRI volumes)
85+ if cfg.pacedByTriggers.do
86+
87+ cfg.pacedByTriggers.quietMode = true;
88+ cfg.pacedByTriggers.nbTriggers = 1;
89+
90+ cfg.timing.eventDuration = cfg.mri.repetitionTime / 2 - 0.04; % second
91+
92+ % Time between blocs in secs
93+ cfg.timing.IBI = 0;
94+ % Time between events in secs
95+ cfg.timing.ISI = 0;
96+ % Number of seconds before the motion stimuli are presented
97+ cfg.timing.onsetDelay = 0;
98+ % Number of seconds after the end all the stimuli before ending the run
99+ cfg.timing.endDelay = 2;
100+
101+ end
102+ ```
78103
79104### 3.3. <a name =' subfunexpDesign ' ></a >subfun/expDesign
80105
@@ -103,10 +128,4 @@ The `numEventsPerBlock` should be a multiple of the number of "base" listed in t
103128- ` expParameters.designSpeeds ` is an array ` (nr_blocks, numEventsPerBlock) * speedEvent `
104129- ` expParameters.designFixationTargets ` is an array ` (nr_blocks, numEventsPerBlock) ` showing for each event if it should be accompanied by a target
105130
106- ### 3.4. <a name =' subfuneyeTracker ' ></a >subfun/eyeTracker
107-
108- Eyetracker script, still to be debugged. Will probably moved in the CPP_PTB package. It deals with the calibration (dufault or custom), eye movements recording and saving the files.
109-
110- ### 3.5. <a name =' subfunwait4Trigger ' ></a >subfun/wait4Trigger
111131
112- Simple functions that counts the triggers sent by the MRI computer to the stimulation computer to sync brain volume recordings and stimulation.
0 commit comments