Randomly select image stimuli within certain combinations

The easiest way to do this is to have 7 rows in your spreadsheet instead of 13 with Path1 and Path2 containing the two image options.

Then in your experiment you could add a code component with the following in Begin Routine

if random()>.5:
     Path=Path1
     thisExp.addData('Path',1)
else:
     Path=Path2
     thisExp.addData('Path',2)
1 Like