OS: Win10 PsychoPy version: 2020.1.3 Standard Standalone? (y/n): Y
What are you trying to achieve?:
I’m trying to convert RDK-dot size from pixels to degrees so when my task is run on other computers/monitors (i.e. a participant’s computer) they appear the same size consistently. Under the builder/dot size option it only allows me to input a pixel unit. Other properties such as RDK field size are in degrees and scale appropriately across computers.
(This is the result on two different laptops with the same task)
Is there someway to do a pixel to degree conversion that gives me consistent dot sizes across different screens?
What did you try to make it work?:
I’ve entered the monitor info with the same viewing distance with their respective monitor width and resolution on different laptops. I assume that due to different monitor’s pixel-properties dot sizes appear differently. If there’s no easy way to do a conversion, I’m thinking of using a code snippet that lets me scale dot size based on the monitor’s information (i.e. pixel count and screen width) but not sure how I’d do this
from psychopy.tools.monitorunittools import deg2pix
Then you can calculate a value in pixels corresponding to an angle on the local monitor (assuming you have called it win, and that it has a valid entry defined in the Monitor Centre, giving its size and distance):