Thank you Meltem and Michiel. I made an array and then used the randomized arrray. it worked perfectly. <div><br></div><div>Best Wishes,</div><div><br></div><div>Gautam Malu<br><br><div class="gmail_quote">On Fri, Oct 14, 2011 at 7:26 PM, Michiel Spape <span dir="ltr"><<a href="mailto:Michiel.Spape@nottingham.ac.uk">Michiel.Spape@nottingham.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Meltem is quite right, although people usually call it nested lists. Generally, you can go two ways:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">1.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Have a set of 20 stimuli selected within a list from a nested list, e.g.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">List1: 60 stimuli, attribute myStimuli, set to randomise.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">List2: calls List1, and in attribute currentStimulus, set numero uno to [myStimuli:1] to select the first one from List1… after randomisation. The clever thing is that the randomisation of List1 only needs to occur once and you’re done. Probably no inline necessary. Whether you’ve got one or more attributes to call your jpeg isn’t important, because they can be concatenated to one. For instance, if we have instead of myStimuli, “aNumber”, “leftright”, “andsoon” and have a row in the list saying, respectively, “1” “right” “pose.jpg”, then this can be combined using another attribute (say, “filename”) as [myStimuli]_[leftright]_[andsoon] and eprime will just combine it all. </span> <u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">2.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">Code all your stimuli into one array with 60 stimuli, randomizearray, and go from there.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">Best,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">Mich<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;color:#16355A">Michiel Spapé<u></u><u></u></span></i></p><p class="MsoNormal"><i><span style="font-size:10.0pt;color:#16355A">Research Fellow<u></u><u></u></span></i></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;color:#16355A">Perception & Action group<u></u><u></u></span></i></p><p class="MsoNormal"><i><span style="font-size:10.0pt;color:#16355A">University of Nottingham<u></u><u></u></span></i></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;color:#16355A">School of Psychology<u></u><u></u></span></i></p><p class="MsoNormal"><i><span style="font-size:10.0pt;color:#16355A"><a href="http://www.cognitology.eu" target="_blank">www.cognitology.eu</a></span></i><i><span style="font-size:10.0pt;color:#16355A"><u></u><u></u></span></i></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a> [mailto:<a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a>] <b>On Behalf Of </b>Meltem BALLAN<br>
<b>Sent:</b> 14 October 2011 14:42<br><b>To:</b> <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a><br><b>Subject:</b> Re: Randomization of images<u></u><u></u></span></p></div><div><div>
</div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt">BTW you can also google it as sub-list e-prime or something like that. I am sure PST forum or this list discussed this or similar topics before.<br>
Meltem<u></u><u></u></p><div><p class="MsoNormal">On Fri, Oct 14, 2011 at 9:39 AM, Meltem BALLAN <<a href="mailto:meltemballan@gmail.com" target="_blank">meltemballan@gmail.com</a>> wrote:<u></u><u></u></p><p class="MsoNormal">
Gautam,<br>I have an idea. You can prepare two lists (one for the right and the left and second for the middle images). Then, you might want to call those files (edit->properties->startup info). Lets say for session 1<br>
call fileLR and shuffle the list (list properties->order->random). <br>In order to show 20 models you can count to 20 and jump to the end of session (I would use goto) <br>repeat it for session 2 including the middle images. <br>
I hope it helps.<br>Meltem<u></u><u></u></p><div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><p class="MsoNormal">On Fri, Oct 14, 2011 at 8:56 AM, Gautam Malu <<a href="mailto:gautam.malu@research.iiit.ac.in" target="_blank">gautam.malu@research.iiit.ac.in</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal">Hi all,<u></u><u></u></p><div><p class="MsoNormal"> i am developing a simple face recognition task. i am using picture stimuli. I have images of 20 models , 3 images per model so total 3*20 = 60 images.<u></u><u></u></p>
</div><div><p class="MsoNormal">1_right_pose.jpg<u></u><u></u></p></div><div><p class="MsoNormal">1_left_pose.jpg<u></u><u></u></p></div><div><p class="MsoNormal">1_middle_pose.jpg<u></u><u></u></p></div><div><p class="MsoNormal">
............................ total 60 images<u></u><u></u></p></div><div><p class="MsoNormal">Experiment consists of 2 phases<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">
-->1st in learning phase, in which participants will see 2 poses of any 10 models.<u></u><u></u></p></div><div><p class="MsoNormal">i.e total 2*10 = 20 images randomly each images for 3000ms<u></u><u></u></p></div><div>
<p class="MsoNormal">n_right_pose.jpg <u></u><u></u></p></div><div><p class="MsoNormal">m_left_pose.jpg<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">.......total 20 images <u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">---> 2nd is testing phase, In which participants will see all 20 model in middle pose, randomly for 500ms, followed by fixation of infinite duration and during which they have to respond whether or not they have seen that model in learning phase.<u></u><u></u></p>
</div><div><p class="MsoNormal">n_middle_pose.jpg<u></u><u></u></p></div><div><p class="MsoNormal">fixation.jpg<u></u><u></u></p></div><div><p class="MsoNormal">...........20 times<u></u><u></u></p></div><div><p class="MsoNormal">
<u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">now the problem i am facing is how to select 10 random model's both right_pose.jpg and left_pose.jpg and also display them in random order. <u></u><u></u></p>
</div><div><p class="MsoNormal">how can i get this type of ordering in learning phase<u></u><u></u></p></div><div><p class="MsoNormal">Example<u></u><u></u></p></div><div><p class="MsoNormal">3_right_pose.jpg<u></u><u></u></p>
</div><div><p class="MsoNormal">7_left_pose.jpg<u></u><u></u></p></div><div><p class="MsoNormal">11_left_pose.jpg<u></u><u></u></p></div><div><p class="MsoNormal">3_left_pose.jpg<u></u><u></u></p></div><div><p class="MsoNormal">
<u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Thanks,<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">----<u></u><u></u></p></div><div><p class="MsoNormal">Gautam Malu<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div>
<p class="MsoNormal"><span style="color:#888888">-- <br>You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>To post to this group, send email to <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href="mailto:e-prime%2Bunsubscribe@googlegroups.com" target="_blank">e-prime+unsubscribe@googlegroups.com</a>.<br>For more options, visit this group at <a href="http://groups.google.com/group/e-prime?hl=en" target="_blank">http://groups.google.com/group/e-prime?hl=en</a>.</span><u></u><u></u></p>
</div><p class="MsoNormal"><br><br clear="all"><u></u><u></u></p></div></div><p class="MsoNormal"><span style="color:#888888">-- <br></span><span style="font-size:10.0pt;color:#888888">Meltem Ballan, PhD<br>Department of Psychiatry, CB# 7160 <br>
University of North Carolina School of Medicine<br>7023 Neurosciences Hospital<br>Chapel Hill, NC 27599-7160</span><u></u><u></u></p></div><p class="MsoNormal"><br><br clear="all"><br>-- <br><span style="font-size:10.0pt">Meltem Ballan, PhD<br>
Department of Psychiatry, CB# 7160 <br>University of North Carolina School of Medicine<br>7023 Neurosciences Hospital<br>Chapel Hill, NC 27599-7160</span><u></u><u></u></p><p class="MsoNormal">-- <br>You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a>.<br>To unsubscribe from this group, send email to <a href="mailto:e-prime%2Bunsubscribe@googlegroups.com" target="_blank">e-prime+unsubscribe@googlegroups.com</a>.<br>
For more options, visit this group at <a href="http://groups.google.com/group/e-prime?hl=en" target="_blank">http://groups.google.com/group/e-prime?hl=en</a>.<u></u><u></u></p></div></div></div><br>
<p>
This message and any attachment are intended solely for the addressee and may
contain confidential information. If you have received this message in error,
please send it back to me, and immediately delete it. Please do not use,
copy or disclose the information contained in this message or in any attachment.
Any views or opinions expressed by the author of this email do not necessarily
reflect the views of the University of Nottingham.
</p>
<p>
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
</p></div><div><div></div><div class="h5">
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href="mailto:e-prime%2Bunsubscribe@googlegroups.com" target="_blank">e-prime+unsubscribe@googlegroups.com</a>.<br>
For more options, visit this group at <a href="http://groups.google.com/group/e-prime?hl=en" target="_blank">http://groups.google.com/group/e-prime?hl=en</a>.<br>
</div></div></blockquote></div><br></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To unsubscribe from this group, send email to e-prime+unsubscribe@googlegroups.com.<br />
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.<br />