Closed dev-jam closed 1 year ago
Images to go with the report:
Marcus, does your code expect one of the specific coordinate systems that Psychopy implements? Perhaps OpenSesame uses another and that causes these issues? Just the first thing i think of
OpenSesame creates psychopy windows with pxs as unit, compared to deg in Titta:
https://github.com/open-cogsci/OpenSesame/blob/milgram/openexp/_canvas/psycho.py
line 152:
units=u'pix',
Found out that a psychopy window can easily switch between pxs, norm and degree but when working with degree, psychopy in OpenSesame needs the monitor distance and dimensions. You can change these settings in ~/.psychopy3/monitors/testMonitor.json or create a new monitor there and select it in OpenSesame. Now the dots have the right size and coordinates.
Thanks for reporting and testing with OpenSesame! I have now changed such that Titta can run without first setting up a monitor.
I took the code from the demo experiment (init, start_recording, send_message, save_data, helpers.MyDot2(win)) and implemented it as separate inline scripts in an OpenSesame experiment with psychopy as backend. I omitted the creation of a window because OpenSesame creates its own window. Everything worked nicely but when I compared the calibration output from the OpenSesame experiment with the demo experiment I found the calibration dots are smaller and are more located to the center than the vanilla experiment. OpenSesame was set to 1920x1080 and the pictures also had the same resolution. I suspect OpenSesame creates windows a bit different than the code in the demo.