Hi,
Question:
Is there a function that will allow me to delete subsequent available trials if a specific condition is met?
My task:
I am trying to create a short recognition memory task (old v. new judgments) in which there are 16 trials (randomized). Each trial will display 1 image pulled randomly from a group of 4. Each group will contain 4 images from the same category:
- “Old” and contain emotion content
- "Old” and contain neutral content
- “New” and contain emotion content
- “New” and contain neutral content
There are 4 categories that each image group belongs to, and 3 groups of 4 images per category (48 images total):
- positive/social
- negative/social
- positive/non-social
- negative/non-social
I need to make sure that out of the 16 trials shown as follows:
8 “old” trials
- 4 emotion content
- 1 positive/social
- 1 negative/social
- 1 positive/non-social
- 1 negative/non-social
- 4 neutral content
- 1 positive/social
- 1 negative/social
- 1 positive/non-social
- 1 negative/non-social
8 “new” trials- 4 emotion content
- 1 positive/social
- 1 negative/social
- 1 positive/non-social
- 1 negative/non-social
- 4 neutral content
- 1 positive/social
- 1 negative/social
- 1 positive/non-social
- 1 negative/non-social
My problem:
Once an image from a specific group is shown, I want the rest of the group to be eliminated from the available selection pool.
I have done this in the past with less complicated constraints by simply using the “/select” and “/resetinterval” attributes, but this has not been working for me with this design.
I have also tried functions like “removeitem()”, but because I can only specific the item index and not the specific text in an item list,this creates issues with my item pools when randomizing (what was at index 3 becomes index 2 when the item at index 1 is deleted and so on).
“Clearstimulusframes()” does delete the frames from a trial (if I create a single trial for each image), but the trial will still run and simply not display stimuli.
If there is a way or function that will allow me to delete subsequent available trials if a specific condition is met, that would be great.
Any help would be greatly appreciated.
Jess
Stimulus pool:
"PositiveSocial_emotion_old_group1.jpg"
"PositiveSocial_neutral_old_group1.jpg"
"PositiveSocial_emotion_new_group1.jpg"
"PositiveSocial_neutral_new_group1.jpg"
"PositiveSocial_emotion_old_group2.jpg"
"PositiveSocial_neutral_old_group2.jpg"
"PositiveSocial_emotion_new_group2.jpg"
"PositiveSocial_neutral_new_group2.jpg"
"PositiveSocial_emotion_old_group3.jpg"
"PositiveSocial_neutral_old_group3.jpg"
"PositiveSocial_emotion_new_group3.jpg"
"PositiveSocial_neutral_new_group3.jpg"
"NegativeSocial_emotion_old_group1.jpg"
"NegativeSocial_neutral_old_group1.jpg"
"NegativeSocial_emotion_new_group1.jpg"
"NegativeSocial_neutral_new_group1.jpg"
"NegativeSocial_emotion_old_group2.jpg"
"NegativeSocial_neutral_old_group2.jpg"
"NegativeSocial_emotion_new_group2.jpg"
"NegativeSocial_neutral_new_group2.jpg"
"NegativeSocial_emotion_old_group3.jpg"
"NegativeSocial_neutral_old_group3.jpg"
"NegativeSocial_emotion_new_group3.jpg"
"NegativeSocial_neutral_new_group3.jpg"
"PositiveNonSocial_emotion_old_group1.jpg"
"PositiveNonSocial_neutral_old_group1.jpg"
"PositiveNonSocial_emotion_new_group1.jpg"
"PositiveNonSocial_neutral_new_group1.jpg"
"PositiveNonSocial_emotion_old_group2.jpg"
"PositiveNonSocial_neutral_old_group2.jpg"
"PositiveNonSocial_emotion_new_group2.jpg"
"PositiveNonSocial_neutral_new_group2.jpg"
"PositiveNonSocial_emotion_old_group3.jpg"
"PositiveNonSocial_neutral_old_group3.jpg"
"PositiveNonSocial_emotion_new_group3.jpg"
"PositiveNonSocial_neutral_new_group3.jpg"
"NegativeNonSocial_emotion_old_group1.jpg"
"NegativeNonSocial_neutral_old_group1.jpg"
"NegativeNonSocial_emotion_new_group1.jpg"
"NegativeNonSocial_neutral_new_group1.jpg"
"NegativeNonSocial_emotion_old_group2.jpg"
"NegativeNonSocial_neutral_old_group2.jpg"
"NegativeNonSocial_emotion_new_group2.jpg"
"NegativeNonSocial_neutral_new_group2.jpg"
"NegativeNonSocial_emotion_old_group3.jpg"
"NegativeNonSocial_neutral_old_group3.jpg"
"NegativeNonSocial_emotion_new_group3.jpg"
"NegativeNonSocial_neutral_new_group3.jpg"