Skip to content

Commit 87c3c04

Browse files
committed
mh fix
1 parent 23199f8 commit 87c3c04

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

subfun/postInitializationSetup.m

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
function varargout = postInitializationSetup(varargin)
22
% varargout = postInitializatinSetup(varargin)
3-
3+
44
% generic function to finalize some set up after psychtoolbox has been
55
% initialized
6-
6+
77
cfg = deal(varargin{:});
8-
8+
99
cfg.dot.matrixWidth = cfg.screen.winWidth;
10-
10+
1111
% Convert some values from degrees to pixels
1212
cfg.dot = degToPix('size', cfg.dot, cfg);
1313
cfg.dot = degToPix('speed', cfg.dot, cfg);
14-
14+
1515
% Get dot speeds in pixels per frame
1616
cfg.dot.speedPixPerFrame = cfg.dot.speedPix / cfg.screen.monitorRefresh;
17-
17+
1818
cfg.aperture = degToPix('xPos', cfg.aperture, cfg);
19-
19+
2020
% dots are displayed on a square with a length in visual angle equal to the
2121
% field of view
2222
cfg.dot.number = round(cfg.dot.density * ...
2323
(cfg.dot.matrixWidth / cfg.screen.ppd)^2);
24-
24+
2525
varargout = cfg;
26-
27-
end
26+
27+
end

0 commit comments

Comments
 (0)