|
11 | 11 | 'output'); |
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 | 16 | cfg.debug.smallWin = false; % To test on a part of the screen, change to 1 |
16 | 17 | cfg.debug.transpWin = true; % To test with trasparent full size screen |
|
32 | 33 | cfg = setMRI(cfg); |
33 | 34 |
|
34 | 35 | %% Experiment Design |
35 | | - cfg.names = {'static', 'motion'}; |
36 | | - cfg.possibleDirections = [-1 1]; % 1 motion , -1 static |
37 | | - cfg.numBlocks = size(cfg.possibleDirections, 2); |
38 | | - cfg.numRepetitions = 1; % AT THE MOMENT IT IS NOT SET IN THE MAIN SCRIPT |
| 36 | + |
| 37 | + cfg.design.names = {'static'; 'motion'}; |
| 38 | + cfg.design.nbRepetitions = 4; |
| 39 | + cfg.design.nbEventsPerBlock = 12; % DO NOT CHANGE |
| 40 | + |
| 41 | + %% Timing |
| 42 | + |
| 43 | + % Time between blocs in secs |
39 | 44 | cfg.IBI = .5; % 8; |
40 | 45 | % Time between events in secs |
41 | 46 | cfg.ISI = 0.5; |
|
44 | 49 | % Number of seconds after the end all the stimuli before ending the run |
45 | 50 | cfg.endDelay = .1; |
46 | 51 |
|
47 | | - %% Visual Stimulation |
48 | | - |
49 | | - % Number of events per block (should not be changed) |
50 | | - cfg.numEventsPerBlock = 12; |
51 | 52 | cfg.eventDuration = 1; % second |
| 53 | + |
| 54 | + %% Visual Stimulation |
52 | 55 |
|
53 | | - % speed in visual angles / second |
| 56 | + % Speed in visual angles / second |
54 | 57 | cfg.dot.speed = 15; |
55 | 58 | % Coherence Level (0-1) |
56 | 59 | cfg.dot.coherence = 1; |
57 | | - % nb dots per visual angle square. |
58 | | - cfg.dot.density = .25; |
59 | | - |
| 60 | + % Number of dots per visual angle square. |
| 61 | + cfg.dot.density = .1; |
60 | 62 | % Dot life time in seconds |
61 | 63 | cfg.dot.lifeTime = 10; |
62 | | - |
63 | 64 | % proportion of dots killed per frame |
64 | | - cfg.dot.proportionKilledPerFrame = .05; |
65 | | - |
| 65 | + cfg.dot.proportionKilledPerFrame = 0; |
66 | 66 | % Dot Size (dot width) in visual angles. |
67 | 67 | cfg.dot.size = 1; |
68 | 68 | cfg.dot.color = cfg.color.white; |
|
92 | 92 | cfg.target.duration = 0.05; % In secs |
93 | 93 |
|
94 | 94 | cfg.extraColumns = {'direction', 'speed', 'target', 'event', 'block'}; |
| 95 | + |
95 | 96 | end |
96 | 97 |
|
97 | 98 | function cfg = setKeyboards(cfg) |
|
0 commit comments