I am using a loop for my trial sequence and I have created a .csv file that contains data for each trial (stimulus path and stimulus category).
What I am doing now is selecting a subset
S of all row indices which correspond to the stims that will be presented during the experiment.
In my loop for this block, I set
selected rows to
S to select all stimuli that should be presented.
All of this works out fine.
What I want to do now is select a couple of stimuli that shall be repeated
n times. Just adding a couple of indices to
S multiple times doesn’t cut it for me, since row-selection in a loop does not care about the amount of times a row index is present in a given list, but just whether it is present at all.
A hacky way to get this would be to “reserve”
n indices for each stimulus and then just use one of those for each stimulus that shall not be repeated more than once, but this would involve a couple more changes.
Is there a built-in way to repeat a subset of stimuli multiple times, using loops in the builder interface, while preserving randomized presentation order (“random” setting in the loop)?