|
17 | 17 |
|
18 | 18 | cfg.debug.do = false; % To test the script out of the scanner, skip PTB sync |
19 | 19 | cfg.debug.smallWin = false; % To test on a part of the screen, change to 1 |
20 | | - cfg.debug.transpWin = true; % To test with trasparent full size screen |
| 20 | + cfg.debug.transpWin = false; % To test with trasparent full size screen |
21 | 21 |
|
22 | | - cfg.skipSyncTests = 1; |
| 22 | + cfg.skipSyncTests = 0; |
23 | 23 |
|
24 | 24 | cfg.verbose = 1; |
25 | 25 |
|
26 | 26 | %% Engine parameters |
27 | 27 |
|
28 | 28 | cfg.testingDevice = 'mri'; |
29 | | - cfg.eyeTracker.do = false; |
| 29 | + cfg.eyeTracker.do = true; |
30 | 30 | cfg.audio.do = false; |
31 | 31 |
|
32 | 32 | cfg = setMonitor(cfg); |
|
38 | 38 | cfg = setMRI(cfg); |
39 | 39 | % cfg.suffix.acquisition = ''; |
40 | 40 |
|
41 | | - cfg.pacedByTriggers.do = false; |
| 41 | + cfg.pacedByTriggers.do = true; |
42 | 42 |
|
43 | 43 | %% Experiment Design |
44 | 44 |
|
|
48 | 48 | % - MST: radial motion centered in a circle aperture that is on the opposite |
49 | 49 | % side of the screen relative to the fixation |
50 | 50 | % - alternates fixaton left and fixation right |
51 | | -% cfg.design.localizer = 'MT'; |
52 | | - cfg.design.localizer = 'MT_MST'; |
| 51 | + cfg.design.localizer = 'MT'; |
| 52 | +% cfg.design.localizer = 'MT_MST'; |
53 | 53 |
|
54 | 54 | cfg.design.motionType = 'translation'; |
55 | 55 | cfg.design.motionDirections = [0 0 180 180]; |
|
83 | 83 | if cfg.pacedByTriggers.do |
84 | 84 |
|
85 | 85 | cfg.pacedByTriggers.quietMode = true; |
86 | | - cfg.pacedByTriggers.nbTriggers = 5; |
| 86 | + cfg.pacedByTriggers.nbTriggers = 1; |
87 | 87 |
|
88 | 88 | cfg.timing.eventDuration = cfg.mri.repetitionTime / 2 - 0.04; % second |
89 | 89 |
|
90 | | - % Time between blocs in secs |
| 90 | + % Time between blocs in nb of triggers (remember to consider the nb trigger to wait + 1) |
| 91 | + cfg.timing.triggerIBI = 4; |
| 92 | + % Time between blocks in secs |
91 | 93 | cfg.timing.IBI = 0; |
92 | 94 | % Time between events in secs |
93 | 95 | cfg.timing.ISI = 0; |
|
209 | 211 |
|
210 | 212 | cfg.design.motionType = 'radial'; |
211 | 213 | cfg.design.motionDirections = [666 -666]; |
212 | | - cfg.design.names = {'motion'}; |
| 214 | +% cfg.design.names = {'motion'}; |
| 215 | + cfg.design.names = {'static'; 'motion'}; |
213 | 216 | cfg.design.fixationPosition = {'fixation_left'; 'fixation_right'}; |
214 | 217 | % cfg.design.fixationPosition = {'fixation_right'; 'fixation_left'}; |
215 | 218 | cfg.design.xDisplacementFixation = 7; |
|
222 | 225 | cfg.design.nbEventsPerBlock = cfg.design.nbEventsPerBlock * 2; |
223 | 226 |
|
224 | 227 | cfg.timing.IBI = 4; |
| 228 | + |
| 229 | + cfg.timing.changeFixationPosition = 10; |
225 | 230 |
|
226 | 231 | % reexpress those in terms of repetition time |
227 | 232 | if cfg.pacedByTriggers.do |
|
0 commit comments