PsychoPy version (e.g. 1.84.x): 3.1.5
What are you trying to achieve?:
In my stop signal task participants complete 16 practice trials, one block of 8 trials in which they make a response, and then one block of 8 trials where they withhold their response.
I want to then run a mixed block where the 16 practice trials are presented in a random order.
What did you try to make it work?:
I used the coin flip function to change the colour of the stimulus that instructs the participant to make a response or not:
coinflip=np.random.randint(3, size=1) if coinflip==0: StimCol=[-1.000,-1.000,-1.000] elif coinflip==1: StimCol=[-1.000,1.000,-1.000]
What specifically went wrong when you tried that?:
This works but the number of trials is not equal, e.g. you could have 10 of one and 6 of another.
I was going to put a loop around the current routines as this would also solve my issue about how to show the correct feedback, but my issue there is that the new loop will contain instructions that I don’t want to be included.
I hope that makes sense to someone.