|
44 | 44 | cfg.stimWidth = 1024; |
45 | 45 |
|
46 | 46 | % will magnify the stim until it reaches that width in pixel |
47 | | - cfg.stimDestWidth = 800; |
| 47 | + cfg.stimDestWidth = 800; |
48 | 48 |
|
49 | 49 | cfg = setDotsParameters(cfg); |
50 | 50 |
|
|
68 | 68 | cfg.audio.do = false; |
69 | 69 |
|
70 | 70 | cfg.extraColumns.x_target_pos = struct( ... |
71 | | - 'length', 1, ... |
72 | | - 'bids', struct( ... |
73 | | - 'LongName', 'x position of the the target', ... |
74 | | - 'Units', 'degrees of visual angles')); |
| 71 | + 'length', 1, ... |
| 72 | + 'bids', struct( ... |
| 73 | + 'LongName', 'target x position', ... |
| 74 | + 'Units', 'degrees of visual angles')); |
75 | 75 |
|
76 | 76 | cfg.extraColumns.y_target_pos = struct( ... |
77 | | - 'length', 1, ... |
78 | | - 'bids', struct( ... |
79 | | - 'LongName', 'y position of the the target', ... |
80 | | - 'Units', 'degrees of visual angles')); |
| 77 | + 'length', 1, ... |
| 78 | + 'bids', struct( ... |
| 79 | + 'LongName', 'target y position', ... |
| 80 | + 'Units', 'degrees of visual angles')); |
81 | 81 |
|
82 | 82 | cfg.extraColumns.target_width = struct( ... |
83 | | - 'length', 1, ... |
84 | | - 'bids', struct( ... |
85 | | - 'LongName', 'diameter of the the target', ... |
86 | | - 'Units', 'degrees of visual angles')); |
87 | | - |
| 83 | + 'length', 1, ... |
| 84 | + 'bids', struct( ... |
| 85 | + 'LongName', 'target diameter', ... |
| 86 | + 'Units', 'degrees of visual angles')); |
| 87 | + |
88 | 88 | cfg.extraColumns.keyName = struct( ... |
89 | | - 'length', 1, ... |
90 | | - 'bids', struct( ... |
91 | | - 'LongName', 'key pressed', ... |
92 | | - 'Units', '')); |
| 89 | + 'length', 1, ... |
| 90 | + 'bids', struct( ... |
| 91 | + 'LongName', 'key pressed', ... |
| 92 | + 'Units', '')); |
93 | 93 |
|
94 | 94 | end |
95 | 95 |
|
96 | 96 | function [cfg] = setKeyboards(cfg) |
97 | 97 | cfg.keyboard.escapeKey = 'ESCAPE'; |
98 | 98 | cfg.keyboard.responseKey = { ... |
99 | | - 'r', 'g', 'y', 'b', ... |
100 | | - 'd', 'n', 'z', 'e', ... |
101 | | - 't'}; |
| 99 | + 'r', 'g', 'y', 'b', ... |
| 100 | + 'd', 'n', 'z', 'e', ... |
| 101 | + 't'}; |
102 | 102 | cfg.keyboard.keyboard = []; |
103 | 103 | cfg.keyboard.responseBox = []; |
104 | 104 |
|
|
116 | 116 |
|
117 | 117 | cfg.bids.MRI.Instructions = 'Press the button everytime a red dot appears!'; |
118 | 118 | cfg.bids.MRI.TaskDescription = []; |
119 | | - |
| 119 | + |
120 | 120 | cfg.pacedByTriggers.do = false; |
121 | 121 |
|
122 | 122 | end |
|
141 | 141 | end |
142 | 142 |
|
143 | 143 | % Resolution [width height refresh_rate] |
144 | | - %cfg.screen.resolution = {1024, 768, []}; |
| 144 | + % cfg.screen.resolution = {1024, 768, []}; |
145 | 145 |
|
146 | 146 | % to use to draw the actual field of view of the participant |
147 | 147 | % [width height] |
|
0 commit comments