OS (e.g. Win10):
PsychoPy version (2023.2.3):
What are you trying to achieve?:
Its a simple “ranking stimuli task”.
Eight images will appear on the screen for the participant and then they need to click with the mouse above one of them. After clicking on the mouse, the clicked image will disappear and the rest of them will have their positions randomized and so on… until have none image on the screen.
The objective is to have at the final of the experiment a list of preferable stimuli.
Per exemple, Stimulus7 was the first selected, and then Stimulus6… and so on…
What did you try to make it work?:
Currently, I’m have some issues with the image position.
I set on “Before Experiment”
import random
locations = [(-0.75, 0.36), (-0.27,0.36), (0.27,0.36), (0.75,0.36), (-0.75,-0.36), (-0.27,-0.36), (0.27,-0.36), (0.75,-0.36)]
At the begin routine
stimulus1.pos = random.choice(locations)
stimulus2.pos = random.choice(locations)
stimulus3.pos = random.choice(locations)
stimulus4.pos = random.choice(locations)
stimulus5.pos = random.choice(locations)
stimulus6.pos = random.choice(locations)
stimulus7.pos = random.choice(locations)
stimulus8.pos = random.choice(locations)
What specifically went wrong when you tried that?:
Its seems that the stimulus in getting above on each other. I don’t think random.choice(locations) is excluding the selected location for one of the previous Image (stimulus), but I don’t know how to continue from this…
SMTS.psyexp (158.1 KB)