Skip to content

Commit e96dc7d

Browse files
committed
update README
1 parent f9f886f commit e96dc7d

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,31 @@ Any details of the experiment can be changed in `setParameters.m` (e.g., experim
8080
- Instructions
8181
- Task #1 parameters
8282

83+
#### Let the scanner pace the experiment
84+
85+
Set `cfg.pacedByTriggers.do` to `true` and you can then set all the details in this `if` block
86+
87+
```matlab
88+
% Time is here in in terms of number repetition time (i.e MRI volumes)
89+
if cfg.pacedByTriggers.do
90+
91+
cfg.pacedByTriggers.quietMode = true;
92+
cfg.pacedByTriggers.nbTriggers = 1;
93+
94+
cfg.timing.eventDuration = cfg.mri.repetitionTime / 2 - 0.04; % second
95+
96+
% Time between blocs in secs
97+
cfg.timing.IBI = 0;
98+
% Time between events in secs
99+
cfg.timing.ISI = 0;
100+
% Number of seconds before the motion stimuli are presented
101+
cfg.timing.onsetDelay = 0;
102+
% Number of seconds after the end all the stimuli before ending the run
103+
cfg.timing.endDelay = 2;
104+
105+
end
106+
```
107+
83108
### 3.3. <a name='subfundoDotMo'></a>subfun/doDotMo
84109

85110
#### 3.3.1. <a name='Input:'></a>Input:

0 commit comments

Comments
 (0)