| Reference | Downloads | Github

Defining stimulus position in different units

Hi all,

Apologies if this information is out there somewhere and I missed it, but I was wondering if it’s possible to set the position of a stimulus using two different units, or if I need to convert them to the same unit. Concretely, I am trying to set up an experiment where stimuli appear in a circular arena at distance d from the center of the circle and angle θ (in x.pi radians). Is this possible? I’m using PsychoPy v3.0.6

Thank you for your help!

not sure if I am understanding correctly… if you circle center position is (x1, y1), you can just set your stimuli position to be (x1 + d*cos(θ), y1 + d*sin(θ)), right?

1 Like