From ebbd03ac7735bc6cb672f5ec022b235c2323871f Mon Sep 17 00:00:00 2001
From: tiborauer <tibor.auer@gmail.com>
Date: Sat, 31 Oct 2020 10:13:19 +0000
Subject: [PATCH] INFO: Visual init

---
 rMtS.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/rMtS.py b/rMtS.py
index 0bfe20e..d828add 100644
--- a/rMtS.py
+++ b/rMtS.py
@@ -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)
-- 
GitLab