Psychopy loop type random no repeat8/11/2023 The reason is that I do not shuffle stimuli, but only pointers to whether PsychoPy should take an item from column “conditionone” or column “conditiontwo”. The same happens if I set the loopType to random (which I did not expect). If I shuffle “cuelist” there won’t be exactly six items from conditionone and six from conditiontwo anymore. This would result in an experiment in which a participant will see six items of conditionone and six of conditiontwo and then the fillers. Then it takes sixteen times “conditionone” and “conditiontwo” which are the sixteen remaining rows. I have a simple experiment with 8 different trials that I wish to present only once without repeat participants are asked to 'solve' a numeric sequence where 4 sequences have a solution (S) and 4 are unsolvable (U). PsychoPy Non repeated randomized stimuli j3rrin April 16, 2018, 7:00pm 1 WIN 10 PSY 1.90.1 Standard Standalone So I am trying to insert a loop that presents 8 stimuli (stories) that should be randomized, but however they should not be repeated and each stimuli should be presented only once. If you want your loop to end based on some condition, rather than based on a certain number or iterations, then you could use a whileloop. These later correspond to the first twelve rows of my Excel sheet. Randomising conditions with alternating order in PsychoPy. So far, my code generates a list of sixt times “conditionone” and six times “conditiontwo”. Probably (and hopefully) I’m overlooking something really simple and stupid I would be really, really greateful if someone could point me into the right direction Sometimes four stimuli from the first condition are shown and eight from the second or five from the first and seven from the second. If not then just delete and start from scratch. If I run the experiment with loopType set to “sequential” everything works just fine, i.e., participants see six stimuli from the first and six stimuli from the second condition (and they are randomly chosen) However, if I set the loopType to “random” this does not work anymore. I now still need to implement the exact same experiment in the builder (you can use your own repeatloop. Randomize without repeating stimuli randomization cxsiopeia March 13, 2021, 10:22pm 1 If this template helps then use it. To Begin Routine I added a code which takes one element from this list: //Take the first element of cuelist: So now I have a list of all stimuli I want to present named “cuelist”. Put the list of stimuli and the filler list togetherĬuelist = cuelist.split(",").map(String) shuffle the list so that whether conditionone or conditiontwo is shown is random. I added the following code to Begin Experiment (but note that I’m really bad at programming ): //Participants need to see six stimuli from condition one and six from condition two
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |