![]() ![]() If stim_list != 'standard.wav' and stim_list != 'standard. No need to select a subset of rows or to set a random seed. Name this loop trialloop and make sure it loops randomly across trials a total for 3 repetitions (generating 60 trials). I am finding that there is no option to have the stimuli be randomized without being repeated. Would you have any advice? Do you know where is my mistake? filename_to_read = _thisDir + os.sep + 'MMN_stim.csv'įilename_to_write = _thisDir + os.sep + 'MMN_stim_' + expInfo + '.csv' It could simply be: if not rr: trials5.finished True. Create a loop across the stim and isi routines (i.e., the loop should encompass these two routines). 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. In other words, each deviant stim must always be immediately followed by a standard stim.īellow is the code I inserted in my first routine. I would like to randomise my list by making sure that a deviant stim will never be immediately followed by another deviant. So I have 1030 lines of standard stim, 100 for deviant_1, 100 for deviant_2, 100 for deviant_3, and 100 for deviant_4. I have a csv file (MMN_stim.csv) containing my stim and trigger’s info (it will be an EEG study). The text component of my first routine never shows up so I guess psychopy is running the while loop again and again, but the message "reshuffle. have a sequence which goes ABCBCACABetc.). In an experiment lasting 10 minutes one might have 40 15-second blocks, and the only way to produce the (psuedo-random) sequence you want is with 40 separate elements in the flow panel that all executed one-by-one (with no loops). The script keeps running without ending (even after 1 or 2 minutes) and I can’t figure out why. There’s no easy way of doing this in the builder. Until now, we have a randomised block design, where the order of blocks is set to random. So instead to randomizing newlist, randomize cuelist. Counterbalancing is simply an extension of blocking. ![]() You have not yet randomized filler and stimuli. I tried to use Mirjam’s code to randomize my stimuli according to 1 condition but it did not work. There is no need to set the loop type to random. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |