|
1 | 1 | function [cfg] = setParameters()
|
2 | 2 |
|
| 3 | + % VISUAL LOCALIZER |
| 4 | + |
3 | 5 | % Initialize the parameters and general configuration variables
|
4 | 6 | cfg = struct();
|
5 | 7 |
|
|
21 | 23 | %% Engine parameters
|
22 | 24 |
|
23 | 25 | cfg.testingDevice = 'mri';
|
24 |
| - cfg.eyeTracker.do = false; |
| 26 | + cfg.eyeTracker.do = true; |
25 | 27 | cfg.audio.do = false;
|
26 | 28 |
|
27 | 29 | cfg = setMonitor(cfg);
|
|
41 | 43 | cfg.design.motionType = 'translation';
|
42 | 44 | cfg.design.motionDirections = [0 0 180 180];
|
43 | 45 | cfg.design.names = {'static'; 'motion'};
|
44 |
| - cfg.design.nbRepetitions = 10; |
| 46 | + cfg.design.nbRepetitions = 8; |
45 | 47 | cfg.design.nbEventsPerBlock = 12; % DO NOT CHANGE
|
46 | 48 |
|
47 | 49 | %% Timing
|
|
52 | 54 | % IBI
|
53 | 55 | % block length = (cfg.eventDuration + cfg.ISI) * cfg.design.nbEventsPerBlock
|
54 | 56 |
|
55 |
| - cfg.timing.eventDuration = 0.850; % second |
| 57 | + cfg.timing.eventDuration = 0.8; % second |
56 | 58 |
|
57 | 59 | % Time between blocs in secs
|
58 |
| - cfg.timing.IBI = 1.8; |
| 60 | + cfg.timing.IBI = 0; |
59 | 61 | % Time between events in secs
|
60 | 62 | cfg.timing.ISI = 0;
|
61 | 63 | % Number of seconds before the motion stimuli are presented
|
|
72 | 74 | cfg.timing.eventDuration = cfg.mri.repetitionTime / 2 - 0.04; % second
|
73 | 75 |
|
74 | 76 | % Time between blocs in secs
|
75 |
| - cfg.timing.IBI = 1; |
| 77 | + cfg.timing.IBI = 0; |
76 | 78 | % Time between events in secs
|
77 | 79 | cfg.timing.ISI = 0;
|
78 | 80 | % Number of seconds before the motion stimuli are presented
|
|
94 | 96 | % proportion of dots killed per frame
|
95 | 97 | cfg.dot.proportionKilledPerFrame = 0;
|
96 | 98 | % Dot Size (dot width) in visual angles.
|
97 |
| - cfg.dot.size = .2; |
| 99 | + cfg.dot.size = .1; |
98 | 100 | cfg.dot.color = cfg.color.white;
|
99 | 101 |
|
100 | 102 | % Diameter/length of side of aperture in Visual angles
|
|
143 | 145 | function cfg = setMRI(cfg)
|
144 | 146 | % letter sent by the trigger to sync stimulation and volume acquisition
|
145 | 147 | cfg.mri.triggerKey = 't';
|
146 |
| - cfg.mri.triggerNb = 0; |
| 148 | + cfg.mri.triggerNb = 5; |
147 | 149 |
|
148 | 150 | cfg.mri.repetitionTime = 1.8;
|
149 | 151 |
|
|
0 commit comments