randomizing some variables and keeping others constant
Hello everyone,
I am designing a task switching experiment in which objects to be categorized differ in 1)shape 2) orientation and 3)color. My variables are shape, color, orientation, task and picture number (I have more than one picture for each category). I have named my pictures as [shape][color][orientation][picture_number]. In two trials (one following other on the sequence that I wrapped my loop around), I am trying to control the color while I randomize other variables. In other words, if you have seen a square in the first trial, you may see a square or a circle randomly, but I know that pink will follow blue. In the sequence, I have two targets (trial 1 and trial 2) following each other. In the target sketchpad, I only put variables other than color in brackets to randomize; however the task follows the sequence in the loop even though I chose random order in the loop. I wrote shuffle task, shuffle orientation, shuffle shape, shuffle picture_number on the script of the loop but when I apply and closed, it is not saved. Also I tried to shuffle the variables to be randomized in the cue sketchpad and target sketchpad, but it seems like the command isn't saved when I apply and close. In the trials, the same shape and direction follows each other, is it because they are in the same sequence? How may I randomize the variables for targets in the same sequence?
Thanks in advance
Comments
Hi,
It sounds like you're running an older version of OpenSesame (2.9 or earlier), in which these advanced loop operations weren't implemented yet (and are therefore silently stripped). Is that it? If so, I would update to OpenSesame 3.2.
Other than that, it sounds like you have the right solution in mind.
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hi Sebastian, unfortunately My OpenSesame is already 3.2.1-py2.7. My trials follow each other on the same sequence, may it be that? Is there a way to control for only one variable in the next stimulus in an inline script such as if color in the previous trial is blue, set color to pink? (while randomizing other variables)
Thanks in advance,
Best,
Ege