Skip to content

Commit 717ce87

Browse files
committed
mention some of the fields of the cfg structure that will be set
1 parent 5e09e39 commit 717ce87

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

initPTB.m

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,31 @@
1212
% - keyboard
1313
% - hides cursor
1414
% - sound
15-
15+
%
16+
% OUTPUT:
17+
% cfg.keyboard = [];
18+
% cfg.responseBox = [];
19+
%
20+
% cfg.debug = true;
21+
% cfg.testingTranspScreen = true;
22+
% cfg.testingSmallScreen = true;
23+
%
24+
% cfg.screen : screen numbers where drawing the stimulation (external screen if available)
25+
% cfg.win : window opened by PTB
26+
% cfg.winRect : window rectangule positiona and dimensions in pixel coordinates
27+
% cfg.winWidth : window width in pixels
28+
% cfg.winHeight : window height in pixels
29+
% cfg.center : coordinate of the window center
30+
% cfg.ppd : pixels per degree assuming the window fills the whole screen
31+
% cfg.ifi : estimate of the monitor flip interval
32+
% cfg.monRefresh : monitor refresh rate
33+
% cfg.vbl : (I don't think this output is useful)
34+
% cfg.textFont = 'Courier New';
35+
% cfg.textSize = 18;
36+
% cfg.textStyle = 1;
37+
% cfg.backgroundColor = [0 0 0];
38+
% cfg.monitorWidth = 42;
39+
% cfg.screenDistance = 134;
1640

1741
% TO DO
1842
% - We might want to add a couple of IF in case the experiment does not use audio for example.

0 commit comments

Comments
 (0)