I recently added the ScreenScale ID:29564 to my study to standardize the screen dimensions for participants. I made a recent post about the screen being in pix messing up the phase rates of my stimuli and that once I recoded in norm it resolved itself.
I have the box set to 20cm using the ScreenScale, but it seems to put the new polygon (20x20cm experiment screen) dimensions in pix. Now since it is doing that it messes up the masks on my stimuli from circles to ovals. Any ideas on how to fix this? I will post some code to show the adjustments I made to ScreenScale. Thanks!
from psychopy import visual, core, event
winSize = win.size
x = polygon.size[1]/polygon.size[0]
size = (.1, .1*x)
I would assume this would also be the case in the Builder? For some reason when I check the window units after using ScreenScale it says the units are pixels, not norm which I thought I had it set too.
For some reason when I randomize the orientation they turn into discs or ovals, which is why I thought the pixels may have been messing things up. But now that its not when I hard code the orientation to 0 they are circles. Any ideas?
I doubt my screen scale algorithm will work with norm units and the orientation parameter. Can you use height units? Why are you wanting to rotate a circle?
I plan on manipulating multiple parameters of gratings that will slide back and forth (ie orientation going back and forth between 105 & 75 degrees) to create dynamic stimuli across multiple dimensions. Then having participants select distractors when a certain parameter goes outside of that range and becomes a target.
I know it’s a lot of coding, but I believe psychopy can handle it. I just need a standardized experimental window for participants for when people take this study remotely because of the pandemic.
You think that height units would avoid this problem using ScreenScale?