|
11 | 11 | 'output'); |
12 | 12 |
|
13 | 13 | %% Debug mode settings |
14 | | - |
| 14 | + |
15 | 15 | cfg.debug.do = true; % 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 | 17 | cfg.debug.transpWin = true; % To test with trasparent full size screen |
|
34 | 34 |
|
35 | 35 | %% Experiment Design |
36 | 36 |
|
| 37 | + % cfg.design.motionType = 'translation'; |
| 38 | + % cfg.design.motionType = 'radial'; |
| 39 | + cfg.design.motionType = 'translation'; |
37 | 40 | cfg.design.names = {'static'; 'motion'}; |
38 | 41 | cfg.design.nbRepetitions = 4; |
39 | 42 | cfg.design.nbEventsPerBlock = 12; % DO NOT CHANGE |
40 | 43 |
|
41 | 44 | %% Timing |
42 | | - |
| 45 | + |
| 46 | + % FOR 7T: if you want to create localizers on the fly, the following must be |
| 47 | + % multiples of the scanneryour sequence TR |
| 48 | + % |
| 49 | + % IBI |
| 50 | + % block length = (cfg.eventDuration + cfg.ISI) * cfg.design.nbEventsPerBlock |
| 51 | + |
43 | 52 | % Time between blocs in secs |
44 | | - cfg.IBI = .5; % 8; |
| 53 | + cfg.IBI = 1.8 * 3; % 8; |
45 | 54 | % Time between events in secs |
46 | | - cfg.ISI = 0.5; |
| 55 | + cfg.ISI = 0.1; |
47 | 56 | % Number of seconds before the motion stimuli are presented |
48 | 57 | cfg.onsetDelay = .1; |
49 | 58 | % Number of seconds after the end all the stimuli before ending the run |
50 | 59 | cfg.endDelay = .1; |
51 | 60 |
|
52 | | - cfg.eventDuration = 1; % second |
53 | | - |
| 61 | + cfg.eventDuration = 0.8; % second |
| 62 | + |
54 | 63 | %% Visual Stimulation |
55 | 64 |
|
56 | 65 | % Speed in visual angles / second |
|
91 | 100 | cfg.target.maxNbPerBlock = 2; |
92 | 101 | cfg.target.duration = 0.05; % In secs |
93 | 102 |
|
94 | | - cfg.extraColumns = {'direction', 'speed', 'target', 'event', 'block'}; |
95 | | - |
| 103 | + cfg.extraColumns = {'direction', 'speed', 'target', 'event', 'block', 'keyName'}; |
| 104 | + |
96 | 105 | end |
97 | 106 |
|
98 | 107 | function cfg = setKeyboards(cfg) |
99 | 108 | cfg.keyboard.escapeKey = 'ESCAPE'; |
100 | | - cfg.keyboard.responseKey = {'space'}; |
| 109 | + cfg.keyboard.responseKey = {'space', 't'}; |
101 | 110 | cfg.keyboard.keyboard = []; |
102 | 111 | cfg.keyboard.responseBox = []; |
103 | 112 |
|
|
112 | 121 | cfg.mri.triggerKey = 't'; |
113 | 122 | cfg.mri.triggerNb = 4; |
114 | 123 |
|
115 | | - cfg.mri.repetitionTime = 2; |
| 124 | + cfg.mri.repetitionTime = 1.8; |
116 | 125 |
|
117 | 126 | cfg.bids.MRI.Instructions = 'Detect the RED fixation cross'; |
118 | 127 | cfg.bids.MRI.TaskDescription = []; |
|
0 commit comments