|
12 | 12 |
|
13 | 13 | %% Debug mode settings |
14 | 14 |
|
15 | | - cfg.debug.do = true; % To test the script out of the scanner, skip PTB sync |
| 15 | + cfg.debug.do = false; % To test the script out of the scanner, skip PTB sync |
16 | 16 | cfg.debug.smallWin = false; % To test on a part of the screen, change to 1 |
17 | | - cfg.debug.transpWin = true; % To test with trasparent full size screen |
| 17 | + cfg.debug.transpWin = false; % To test with trasparent full size screen |
18 | 18 |
|
19 | 19 | cfg.verbose = false; |
20 | 20 |
|
21 | 21 | %% Engine parameters |
22 | 22 |
|
23 | | - cfg.testingDevice = 'pc'; |
24 | | - cfg.eyeTracker.do = false; |
| 23 | + cfg.testingDevice = 'mri'; |
| 24 | + cfg.eyeTracker.do = true; |
25 | 25 | cfg.audio.do = true; |
26 | 26 |
|
27 | 27 | cfg = setMonitor(cfg); |
|
37 | 37 | % cfg.design.motionType = 'translation'; |
38 | 38 | % cfg.design.motionType = 'radial'; |
39 | 39 | cfg.design.motionType = 'translation'; |
40 | | - cfg.design.names = {'static', 'motion'}; |
| 40 | + cfg.design.names = {'static'; 'motion'}; |
41 | 41 | cfg.design.possibleDirections = [-1 1]; % 1 motion , -1 static %NOT IN USE AT THE MOMENT |
42 | | - cfg.design.nbBlocks = size(cfg.design.names, 2); % TO CHECK |
43 | | - cfg.design.nbRepetitions = 4; % AT THE MOMENT IT IS NOT SET IN THE MAIN SCRIPT |
| 42 | +% cfg.design.nbBlocks = size(cfg.design.names, 2); % TO CHECK |
| 43 | + cfg.design.nbRepetitions = 14; % AT THE MOMENT IT IS NOT SET IN THE MAIN SCRIPT |
44 | 44 | cfg.design.nbEventsPerBlock = 12; |
45 | 45 |
|
46 | 46 | %% Timing |
|
52 | 52 | % block length = (cfg.eventDuration + cfg.ISI) * cfg.design.nbEventsPerBlock |
53 | 53 |
|
54 | 54 | % Time between blocs in secs |
55 | | - cfg.timing.IBI = 1.8 * 3; % 8; |
| 55 | + cfg.timing.IBI = 1.8; % 8; |
56 | 56 | % Time between events in secs |
57 | | - cfg.timing.ISI = 0.1; |
| 57 | + cfg.timing.ISI = 0; |
58 | 58 | % Number of seconds before the motion stimuli are presented |
59 | 59 | cfg.timing.onsetDelay = .1; |
60 | 60 | % Number of seconds after the end all the stimuli before ending the run |
61 | | - cfg.timing.endDelay = .1; |
| 61 | + cfg.timing.endDelay = 3.6; |
62 | 62 |
|
63 | 63 | %% Auditory Stimulation |
64 | 64 |
|
|
75 | 75 | cfg.fixation.type = 'cross'; |
76 | 76 | cfg.fixation.colorTarget = cfg.color.red; |
77 | 77 | cfg.fixation.color = cfg.color.white; |
78 | | - cfg.fixation.width = 1; |
79 | | - cfg.fixation.lineWidthPix = 2; |
| 78 | + cfg.fixation.width = .5; |
| 79 | + cfg.fixation.lineWidthPix = 3; |
80 | 80 | cfg.fixation.xDisplacement = 0; |
81 | 81 | cfg.fixation.yDisplacement = 0; |
82 | 82 |
|
83 | | - cfg.target.maxNbPerBlock = 2; |
| 83 | + cfg.target.maxNbPerBlock = 0; |
84 | 84 | cfg.target.duration = 0.5; % In secs |
85 | 85 |
|
86 | 86 | cfg.extraColumns = {'direction', 'speed', 'target', 'event', 'block', 'keyName'}; |
|
102 | 102 | cfg.screen.monitorDistance = 40; % distance from the screen in cm |
103 | 103 |
|
104 | 104 | if strcmpi(cfg.testingDevice, 'mri') |
105 | | - cfg.screen.monitorWidth = 50; |
106 | | - cfg.screen.monitorDistance = 40; |
| 105 | + cfg.screen.monitorWidth = 25; |
| 106 | + cfg.screen.monitorDistance = 95; |
107 | 107 | end |
108 | 108 | end |
109 | 109 |
|
110 | 110 | function cfg = setKeyboards(cfg) |
111 | 111 | cfg.keyboard.escapeKey = 'ESCAPE'; |
112 | | - cfg.keyboard.responseKey = {'space', 't'}; |
| 112 | + cfg.keyboard.responseKey = {... |
| 113 | + 'r', 'g', 'y', 'b', ... |
| 114 | + 'd', 'n', 'z', 'e', ... |
| 115 | + 't'}; %dnze rgyb |
113 | 116 | cfg.keyboard.keyboard = []; |
114 | 117 | cfg.keyboard.responseBox = []; |
115 | 118 |
|
|
122 | 125 | function cfg = setMRI(cfg) |
123 | 126 | % letter sent by the trigger to sync stimulation and volume acquisition |
124 | 127 | cfg.mri.triggerKey = 't'; |
125 | | - cfg.mri.triggerNb = 4; |
| 128 | + cfg.mri.triggerNb = 0; |
126 | 129 |
|
127 | 130 | cfg.mri.repetitionTime = 1.8; |
128 | 131 |
|
|
0 commit comments