Showing saved pairings of stimuli in different positions


Author
Message
lir1995
lir1995
Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)
Group: Forum Members
Posts: 44, Visits: 196
Hello, 

I have an experiment where participants study faces and scenes, and will then be tested on their memory for the face scene pairings (study1-test1-study2-test2). I was able to get the study part working, where faces and scenes are initially randomly paired together during study1. During study2 the same scene-face pairings are presented again. 

However, we are having trouble with the test portion. For the study portion, the face and scene are presented next to each other (horizontal). However, for the test portion, One scene is presented in the top middle of the screen with three faces underneath.  In the test , we need the correct face to be presented with the correct scene, in addition to two additional faces. Here are two issues we are facing: 

1. The way we have it coded now, the pairings are saved with the scenes and faces in a specific, horizontal position. How do we show the same scene-face pairing from the study phase (horizontal) in the test phase with the scene on top of the face?

2. Ideally, the face choices would be the face initially paired with the scene, one random face, and one that was paired with a pairmate of the correct answer scene (arcade 1 and arcade 2). Right now we just have all of the scenes listed out in one item element and not grouped together by pairmates. Though they are ordered by pairmates (e.g., 1 & 2 go together, 3 & 4 together, etc.).  Is it possibly to have the test phase have The scene on top, and then three faces on the bottom that include: faces from the correct scene, its pairmate, and then a random face? If this is not possible, we need it so the other two faces are random and not the same as each other. 

Here is the code we have so far with a working study phase and in progress test phase. Any help is very much appreciated. Thank you for your time.

**************
STIMULI
**************
************
Import Faces
************
<item Face>
  / 1 = "Faces/1.jpg"
  / 2 = "Faces/2.jpg"
  / 3 = "Faces/3.jpg"
  / 4 = "Faces/4.jpg"
  / 5 = "Faces/5.jpg"
  / 6 = "Faces/6.jpg"
  / 7 = "Faces/7.jpg"
  / 8 = "Faces/8.jpg"
  / 9 = "Faces/9.jpg"
  / 10 = "Faces/10.jpg"
</item>
******
Values
******
<values>
/ Facevalue = 1
/ everythingvalue = 1
</values>
# used for randomization
****
List
****
<list randomface>
/ poolsize = 10
</list>
<list randomscene>
/ poolsize = 10
</list>
<list repeatface>
</list>
<list repeatscene>
/ selectionmode = list.repeatface.currentindex
</list>
*************
Locate Scenes
*************
<item everything>
/1 = "scene_files_test/Scenes/Arcade 1.jpg"
/2 = "scene_files_test/Scenes/Arcade 2.jpg"
/3 = "scene_files_test/Scenes/Auditorium 1.jpg"
/4 = "scene_files_test/Scenes/Auditorium 2.jpg"
/5 = "scene_files_test/Scenes/Bridge 1.jpg"
/6 = "scene_files_test/Scenes/Bridge 2.jpg"
/7 = "scene_files_test/Scenes/Dock 1.jpg"
/8 = "scene_files_test/Scenes/Dock 2.jpg"
/9 = "scene_files_test/Scenes/Hallway 1.jpg"
/10 = "scene_files_test/Scenes/Hallway 2.jpg"
</item>
****************
Picture Elements
****************
#STUDY PHASE

<picture face_pictured_2>
/ items = Face
/ position = (27%, 50%)
/ size = (50%, 50%)
/ select = values.Facevalue
</picture>

<picture scene1_display>
/ items = everything
/ position = (70%, 50%)
/ size = (50%, 50%)
/ select = values.everythingvalue
</picture>
#for the scenes in the first part


##TEST PHASE

<picture face_pictured_3>
/ items = Face
/ position = (20%, 80%)
/ size = (30%, 30%)
</picture>
# one face above and three scenes below (second part)

<picture face_pictured_4>
/ items = Face
/ position = (50%, 80%)
/ size = (30%, 30%)
</picture>
# one face above and three scenes below (second part)

<picture face_pictured_5>
/ items = Face
/ position = (80%, 80%)
/ size = (30%, 30%)
</picture>
# one face above and three scenes below (second part)


<picture scene2_display>
  / items = everything
  / position = (50%, 30%)
  / size = (50%, 50%)
</picture>
#for the scenes in the second part


<shape blank>
/ color = white
/ shape = rectangle
/ size = (100%, 100%)
/ erase = false
</shape>

***************
Creating Trials
***************
##STUDY PHASES
<trial Face_and_Scene_show>
/ ontrialbegin = [values.Facevalue=list.randomface.nextindex; values.everythingvalue=list.randomscene.nextindex;
  list.repeatface.appenditem(values.Facevalue); list.repeatscene.appenditem(values.everythingvalue); ]
  / stimulustimes = [
   0 = face_pictured_2;
   0 = scene1_display;
   3000 = blank;
  ]
  / timeout = 4000
  / validresponse = ("1", "2", "3")
  / inputdevice = keyboard
</trial>

<trial Face_and_Scene_repeat>
/ ontrialbegin = [values.Facevalue=list.repeatface.nextvalue; values.everythingvalue=list.repeatscene.nextvalue; ]
  / stimulustimes = [
   0 = face_pictured_2;
   0 = scene1_display;
   3000 = blank;
  ]
  / timeout = 4000
  / validresponse = ("1", "2", "3")
  / inputdevice = keyboard
</trial>
# one face and one scene next to each other (second part)

#TEST PHASE
<trial Face_and_Three_Scenes>
  / stimulustimes = [
   0 = scene2_display;
   0 = face_pictured_3;
   0 = face_pictured_4;
   0 = face_pictured_5;
  ]
  / timeout = 5000
  / validresponse = ("1", "2", "3")
  / inputdevice = keyboard
</trial>
# one face above and three scenes below (third part)
***************
Creating Blocks
***************
<block Show>
/ trials = [1-10 = Face_and_Scene_show]
</block>
# indicates the from Face1, we want four images to be shown (1-4) -> if there aren't four images listed, the code will alternate between the listed ones (ex. switch between one, two, one, two)
# the images are shown in a random order

<block Response>
/ trials = [1-10 = Face_and_Three_Scenes]
</block>

<block Repeat>
/ trials = [1-10 = Face_and_Scene_repeat]
</block>
***********
Experiment
***********
<expt>
/ blocks = [1 = Show; 2 = Response; 3 = Repeat; 4 = Response]
</expt>



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
lir1995 - 2 days ago @ 2:08 PM
Dave - 2 days ago @ 2:20 PM
Dave - 2 days ago @ 4:57 PM
lir1995 - 2 days ago @ 5:16 PM
Dave - 2 days ago @ 5:23 PM
                         Thank you so much!
lir1995 - 2 days ago @ 5:26 PM
                             Here's the original script file as well.
Dave - 2 days ago @ 5:39 PM

Reading This Topic

Explore
Messages
Mentions
Search