I’m using the following code to generate a dot stimulus:
win = visual.Window(
monitor=‘DellMonitor’,
units=‘deg’,
fullscr=True
)rect = visual.Rect(
win=win,
units=‘deg’,
width=0.02, # rectangle width
height=0.05, # rectangle height
fillColor=‘black’,
lineColor=‘black’,
)
dots = visual.DotStim(
win=win,
units=‘deg’,
nDots=350,
dotLife=2.0,
noiseDots=‘direction’,
speed=0,
dir=90,
coherence=1.0,
fieldShape=‘circle’,
fieldSize=9.0,
element=rect,
)
This generates dots perfectly if I remove the ‘element’ argument from the dots, but once I add the argument back in, the dots no longer follow the applied feild size. Instead, it seems that the feild size extends beyond the actual screen. I’m using the most recent version of Psychopy. Any advice here? Thanks!