Skip to content
Snippets Groups Projects
Commit ebbd03ac authored by Tibor Auer's avatar Tibor Auer
Browse files

INFO: Visual init

parent 5d1a0a89
No related branches found
No related tags found
No related merge requests found
......@@ -200,7 +200,11 @@ if __name__ == '__main__':
# Visual
mon = monitors.Monitor(Monitor)
win = visual.Window([1280,1024],winType='pyglet',screen=1,monitor=Monitor,units='pix',fullscr = True, autoLog=False, gammaErrorPolicy='ignore')
# - set fullscr=True for experiment
# - for multimonitor:
# - set the external screen to primary
# - set screen=1
win = visual.Window([1280,1024],winType='pyglet',screen=0,monitor=mon,units='pix',fullscr=False, autoLog=False, gammaErrorPolicy='ignore')
win.mouseVisible = False
gridForm = visual.ElementArrayStim(win=win, name='gridForm', nElements=(gridXY+1)*2, sizes=[gridSize,2], xys = gridCoordinates, oris=gridAngles, units='pix',
elementTex=ones([16,16]), elementMask=ones([16,16]), colors=colour, colorSpace='rgb', autoLog=False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment