We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bedfed8 commit 5158b97Copy full SHA for 5158b97
subfun/postInitializationSetup.m
@@ -10,4 +10,17 @@
10
11
cfg = postInitDots(cfg);
12
13
+ % TODO transfer those if blocks into 'degToPix' (and similarly into pixToDeg)
14
+ % TODO this kind of generic post initialization can be done systematically at end of initPTB
15
+ if isfield(cfg.fixation, 'xDisplacement')
16
+ cfg.fixation = degToPix('xDisplacement', cfg.fixation, cfg);
17
+ end
18
+ if isfield(cfg.fixation, 'yDisplacement')
19
+ cfg.fixation = degToPix('yDisplacement', cfg.fixation, cfg);
20
21
+
22
+ if isfield(cfg.design, 'xDisplacementAperture')
23
+ cfg.design = degToPix('xDisplacementAperture', cfg.design, cfg);
24
25
26
end
0 commit comments