Selection and randomization of pictures within a trial


Author
Message
gracethenoob
gracethenoob
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)
Group: Forum Members
Posts: 11, Visits: 85
I am having trouble selecting at random and presenting at random within trials.

For each trial, there is a target image presented at a specific point within a stream of filler images. Example:
1 = filler23
2 = filler17
3 = filler2
4 = target1
5 = filler6
6 = filler19
7 =  filler5
8 = filler4
9 = filler20
10 = filler15
11 = filler8

The constraints are:
(1) The 10 filler images are randomly drawn from a pool of 24 images, cannot repeat within a trial, must be presented in a random order, and must be selected anew each trial.
(2) There are 5 target images and a different one (using random selection) must be presented every trial.

I think the second constraint is straightforward because it works like a regular trial but I cannot figure out how to tackle the first constraint. I have looked at other code in the Inquisit library such as the Simple Attentional Blink code and it seems to have a solution when using single letters but I cannot seem to translate that strategy to pictures. Any tips?

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search