|
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 = false; % To test with trasparent full size screen |
| 20 | + cfg.debug.transpWin = true; % To test with trasparent full size screen |
21 | 21 |
|
22 | 22 | cfg.skipSyncTests = 1; |
23 | 23 |
|
|
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]; |
56 | 56 | cfg.design.names = {'static'; 'motion'}; |
57 | 57 |
|
58 | 58 | % if you have static and motion and `nbRepetions` = 4, this will return 8 blocks (n blocks per |
59 | 59 | % hemifield in case of MT/MST localizer) |
60 | | - cfg.design.nbRepetitions = 4; |
61 | | - cfg.design.nbEventsPerBlock = 12; |
| 60 | + cfg.design.nbRepetitions = 10; |
| 61 | + cfg.design.nbEventsPerBlock = 10; |
62 | 62 |
|
63 | 63 | %% Timing |
64 | 64 |
|
|
68 | 68 | % IBI |
69 | 69 | % block length = (cfg.eventDuration + cfg.ISI) * cfg.design.nbEventsPerBlock |
70 | 70 |
|
71 | | - cfg.timing.eventDuration = 0.45; % second |
| 71 | + cfg.timing.eventDuration = 0.30; % second |
72 | 72 |
|
73 | 73 | % Time between blocs in secs |
74 | 74 | cfg.timing.IBI = 0; |
|
159 | 159 | 'r', 'g', 'y', 'b', ... |
160 | 160 | 'd', 'n', 'z', 'e', ... |
161 | 161 | 't'}; |
162 | | - cfg.keyboard.keyboard = [7]; |
163 | | - cfg.keyboard.responseBox = [7]; |
| 162 | + cfg.keyboard.keyboard = []; |
| 163 | + cfg.keyboard.responseBox = []; |
164 | 164 |
|
165 | 165 | if strcmpi(cfg.testingDevice, 'mri') |
166 | 166 | cfg.keyboard.keyboard = []; |
|
209 | 209 |
|
210 | 210 | cfg.design.motionType = 'radial'; |
211 | 211 | cfg.design.motionDirections = [666 -666]; |
212 | | - cfg.design.names = {'motion'; 'static'}; |
| 212 | + cfg.design.names = {'motion'}; |
213 | 213 | cfg.design.fixationPosition = {'fixation_left'; 'fixation_right'}; |
214 | 214 | % cfg.design.fixationPosition = {'fixation_right'; 'fixation_left'}; |
215 | 215 | cfg.design.xDisplacementFixation = 7; |
216 | 216 | cfg.design.xDisplacementAperture = 3; |
217 | | - |
218 | | - cfg.timing.IBI = 3.6; |
| 217 | + |
| 218 | + % here we double the repetions (2 hemifields) |
| 219 | + cfg.design.nbRepetitions = cfg.design.nbRepetitions * length(cfg.design.fixationPosition); |
| 220 | + |
| 221 | + % inward&outward are presented as separated event |
| 222 | + cfg.design.nbEventsPerBlock = cfg.design.nbEventsPerBlock * 2; |
| 223 | + |
| 224 | + cfg.timing.IBI = 4; |
219 | 225 |
|
220 | 226 | % reexpress those in terms of repetition time |
221 | 227 | if cfg.pacedByTriggers.do |
|
0 commit comments