Once Per Trial


Author
Message
brichar
brichar
New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)
Group: Forum Members
Posts: 2, Visits: 9
Hi all,
I've created an experiment that employs a study/test or old/new paradigm. 
Participants will get the chance to study 10 faces, and then they will be shown the same 10 faces for a second chance to study them. 
I've created the list "Seen" which will hold the study faces, my problem is calling on the list twice so that each face is ONLY shown once per trial (Learning_Trial1 and RepeatLearning_Trial1). So, any given image will be shown twice in the learning block but only once per trial. 

Thanks in advance!


Code below:
<item fixation>
/1 = " + "
</item >

<text fixation>
/items = fixation
/select = noreplace
/position = (50, 50)
/ fontstyle = ("Times New Roman", 3%, false, false, false, false, 5, 0)
</text>

<item PoolofItems>
/1 = " image1.jpg "
/2 = " image2.jpg "
/3 = " image3.jpg "
.....
/40 = "image40.jpg"
</item>

<list 40items>
/ poolsize = 40
/ selectionmode = random
/ selectionrate = always
</list>

<list Seen>
/ selectionrate = always
</list>

<list Not_Seen>
/ selectionrate = always
</list>

<list Seen2>
/ selectionrate = always
</list>

<list Not_Seen2>
/ selectionrate = always
</list>
----

<block Learning>
/trials = [1-5= sequence(Learning_Trial1); 6-10= sequence(RepeatLearning_Trial1)]
</block>

<trial Learning_Trial1>
/ stimulusframes = [1=fixation; 20= Seen]
/ validresponse = (noresponse)
/ correctresponse = (noresponse)
/ timeout = 3000
</trial>

<trial RepeatLearning_Trial1>
/ stimulusframes = [1=fixation; 20= Seen]
/ validresponse = (noresponse)
/ correctresponse = (noresponse)
/ timeout = 3000
</trial>

<picture Seen>
/items = Pool_of_Faces
/select = list.Seen
/position = (50, 50)
/size = ( 50%, 50% )
</picture>



------- Testing Phase

<block Testing>
/trials = [ 1-5 = noreplace(SeenFace, NotSeenFace)]
</block>

<trial Seen>
/ stimulustimes = [1 = fixation ;1000 = SeenImage ]
/ validresponse = (",",".")
/ correctresponse = (".")
</trial>

<trial NotSeen>
/ stimulustimes = [1 = fixation;1000 = NotSeenImage ]
/ validresponse = (",",".")
/ correctresponse = (".")
</trial>

<picture SeenImage>
/items = PoolofImages
/ select = list.Seen.nextvalue
/size = ( 50%, 50% )
/position = (50, 50)
</picture>

<picture NotSeenImage>
/items = PoolofImages
/ select = list.Not_Seen.nextvalue
/size = ( 50%, 50% )
/position = (50, 50)
</picture>

<expt UnInformed>
/ onexptbegin = [list.Seen.appenditem(list.40items.nextindex); list.Seen.appenditem(list.40items.nextindex); list.Seen.appenditem(list.40items.nextindex); 
                list.Seen.appenditem(list.40items.nextindex); list.Seen.appenditem(list.40items.nextindex); list.Seen.appenditem(list.40items.nextindex);        
                list.Seen.appenditem(list.40items.nextindex); list.Seen.appenditem(list.40items.nextindex); list.Seen.appenditem(list.40items.nextindex);
                list.Seen.appenditem(llist.40items.nextindex);
                
                list.Seen1.appenditem(list.40items.nextindex); list.Seen1.appenditem(40items.nextindex); list.Seen1.appenditem(list.40items.nextindex); 
                list.Seen1.appenditem(list.40items.nextindex); list.Seen1.appenditem(40items.nextindex); list.Seen1.appenditem(list.40items.nextindex); 
                list.Seen1.appenditem(list.40items.nextindex); list.Seen1.appenditem(40items.nextindex); list.Seen1.appenditem(list.40items.nextindex); list.Seen1.appenditem(list.40items.nextindex);
                
             
                list.Not_Seen.appenditem(list.40items.nextindex); list.Not_Seen.appenditem(list.40items.nextindex); list.Not_Seen.appenditem(list.40items.nextindex); 
                list.Not_Seen.appenditem(list.40items.nextindex); list.Not_Seen.appenditem(list.40items.nextindex); list.Not_Seen.appenditem(list.40items.nextindex); 
                list.Not_Seen.appenditem(list.40items.nextindex); list.Not_Seen.appenditem(list.40items.nextindex); list.Not_Seen.appenditem(list.40items.nextindex); list.Not_Seen.appenditem(list.40items.nextindex);
                
                list.Not_Seen1.appenditem(list.40items.nextindex); list.Not_Seen1.appenditem(list.40items.nextindex); list.Not_Seen1.appenditem(list.40items.nextindex); 
                list.Not_Seen1.appenditem(list.40items.nextindex); list.Not_Seen1.appenditem(list.40items.nextindex); list.Not_Seen1.appenditem(list.40items.nextindex); 
                list.Not_Seen1.appenditem(list.40items.nextindex); list.Not_Seen1.appenditem(list.40items.nextindex); list.Not_Seen1.appenditem(list.40items.nextindex); list.Not_Seen1.appenditem(list.40items.nextindex);
      
/blocks = [1=Learning; 2=Testing]
/ groupassignment = random
</expt>
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search