|
16 | 16 |
|
17 | 17 | %% Debug mode settings |
18 | 18 |
|
19 | | - cfg.debug.do = false; % To test the script out of the scanner, skip PTB sync |
| 19 | + cfg.debug.do = 1; % To test the script out of the scanner, skip PTB sync |
20 | 20 | cfg.debug.smallWin = false; % To test on a part of the screen, change to 1 |
21 | 21 | cfg.debug.transpWin = false; % To test with trasparent full size screen |
22 | 22 |
|
23 | 23 | cfg.verbose = 1; |
24 | | - cfg.skipSyncTests = 1; |
| 24 | + cfg.skipSyncTests = 0; |
25 | 25 |
|
26 | 26 | % cfg.audio.devIdx = 5; %3 %11 |
| 27 | + |
| 28 | + % fixation cross displacement in degrees of visual angles |
| 29 | + % this will also shift the whole FOV |
| 30 | + cfg.fixation.xDisplacement = -1.171228; |
| 31 | + cfg.fixation.yDisplacement = -0.620751; |
27 | 32 |
|
28 | 33 | %% Engine parameters |
29 | 34 | cfg.testingDevice = 'mri'; |
30 | | - cfg.eyeTracker.do = false; |
| 35 | + cfg.eyeTracker.do = true; |
31 | 36 | cfg.audio.do = true; |
32 | 37 |
|
33 | 38 | cfg = setMonitor(cfg); |
|
36 | 41 |
|
37 | 42 | cfg = setMRI(cfg); |
38 | 43 |
|
39 | | - cfg.pacedByTriggers.do = true; |
| 44 | + cfg.pacedByTriggers.do = false; |
40 | 45 |
|
41 | 46 | %% Experiment Design |
42 | 47 |
|
|
61 | 66 | % cfg.timing.eventDuration = 0.850; % second |
62 | 67 |
|
63 | 68 | % Time between blocs in secs |
64 | | - cfg.timing.IBI = 0; |
| 69 | + cfg.timing.IBI = 5.4; |
65 | 70 | % Time between events in secs |
66 | 71 | cfg.timing.ISI = 0; |
67 | 72 | % Number of seconds before the motion stimuli are presented |
|
107 | 112 | cfg.fixation.color = cfg.color.white; |
108 | 113 | cfg.fixation.width = .5; |
109 | 114 | cfg.fixation.lineWidthPix = 3; |
110 | | - cfg.fixation.xDisplacement = 0; |
111 | | - cfg.fixation.yDisplacement = 0; |
| 115 | +% cfg.fixation.xDisplacement = 0; |
| 116 | +% cfg.fixation.yDisplacement = 0; |
112 | 117 |
|
113 | 118 | cfg.target.maxNbPerBlock = 1; |
114 | 119 | cfg.target.duration = 0.5; % In secs |
|
155 | 160 | function cfg = setMRI(cfg) |
156 | 161 | % letter sent by the trigger to sync stimulation and volume acquisition |
157 | 162 | cfg.mri.triggerKey = 't'; |
158 | | - cfg.mri.triggerNb = 0; |
| 163 | + cfg.mri.triggerNb = 5; |
159 | 164 |
|
160 | 165 | cfg.mri.repetitionTime = 1.8; |
161 | 166 |
|
|
0 commit comments