﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 4  » Selection and randomization of pictures within a trial</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Thu, 16 Apr 2026 01:58:10 GMT</lastBuildDate><ttl>20</ttl><item><title>Selection and randomization of pictures within a trial</title><link>https://forums.millisecond.com/Topic18933.aspx</link><description>I am having trouble selecting at random and presenting at random within trials. &lt;br/&gt;&lt;br/&gt;For each trial, there is a target image presented at a specific point within a stream of filler images. Example:&lt;br/&gt;1 = filler23&lt;br/&gt;2 = filler17&lt;br/&gt;3 = filler2&lt;br/&gt;4 = target1&lt;br/&gt;5 = filler6&lt;br/&gt;6 = filler19&lt;br/&gt;7 =&amp;nbsp; filler5&lt;br/&gt;8 = filler4&lt;br/&gt;9 = filler20&lt;br/&gt;10 = filler15&lt;br/&gt;11 = filler8&lt;br/&gt;&lt;br/&gt;The constraints are:&lt;br/&gt;(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. &lt;br/&gt;(2) There are 5 target images and a different one (using random selection) must be presented every trial.&lt;br/&gt;&lt;br/&gt;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?&lt;br/&gt; </description><pubDate>Thu, 10 Nov 2022 02:18:25 GMT</pubDate><dc:creator>gracethenoob</dc:creator></item><item><title>RE: Selection and randomization of pictures within a trial</title><link>https://forums.millisecond.com/Topic34926.aspx</link><description>Thank you! I think I figured it out!</description><pubDate>Thu, 10 Nov 2022 02:18:25 GMT</pubDate><dc:creator>chenxyu</dc:creator></item><item><title>RE: Selection and randomization of pictures within a trial</title><link>https://forums.millisecond.com/Topic34925.aspx</link><description>&lt;blockquote data-id="34924" class="if-quote-wrapper" unselectable="on" data-guid="1668037152865" id="if_insertedNode_1668037151344" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="34924" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="34924" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="34924" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;chenxyu - 11/9/2022&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-34924"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Thank you!&lt;br/&gt;A couple of follow-up questions if you don't mind: I attempted to randomly select 5 pictures from a pool of 1000 pictures and another 4 from another pool of 800 pictures with no replacement (so picture will only present once throughout the experiment). This would mean I will need 9 &amp;lt;picture&amp;gt; elements, right? &lt;br/&gt;&lt;br/&gt;To do so, I created two lists (List A with 1000 items and List B with 800 items) and within each list, I set /replace = false and /poolsize = 1000 and 800, respectively. Then within those picture elements, I set /selectionrate = experiment. Would this do I what want it to do? I've attached part of the code below if it makes it easier to read. &lt;br/&gt;&lt;br/&gt;I also want to randomize the position of these pictures. Can you point me to some resources if this question has been answered elsewhere?&lt;br/&gt;&lt;br/&gt;Finally, if I want to repeat this until all stimuli have been exhausted (i.e., a total of 200 trials, each trial has 5 pictures from list A and 4 from list B), what would you recommend?&lt;br/&gt;&amp;lt;item person1-1000&amp;gt;&lt;br/&gt;/1= "person1"&lt;br/&gt;...&lt;br/&gt;/1000="person1000"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item name1-800&amp;gt;&lt;br/&gt;/1="name1"&lt;br/&gt;...&lt;br/&gt;/800="name800"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list person&amp;gt;&lt;br/&gt;/items=(1,2,....,1000)&lt;br/&gt;/replace=false&lt;br/&gt;/poolsize=1000&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list name&amp;gt;&lt;br/&gt;/items=(1,2,...,800)&lt;br/&gt;/replace=false&lt;br/&gt;/poolsize=800&lt;br/&gt;&amp;lt;list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture person1&amp;gt;&lt;br/&gt;/items=person&lt;br/&gt;/select=list.person.nextindex&lt;br/&gt;/selectionrate=experiment&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture person2&amp;gt;&lt;br/&gt;/items=person&lt;br/&gt;/select=list.person.nextindex&lt;br/&gt;/selectionrate=experiment&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture person3&amp;gt;&lt;br/&gt;/items=person&lt;br/&gt;/select=list.person.nextindex&lt;br/&gt;/selectionrate=experiment&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture person4&amp;gt;&lt;br/&gt;/items=person&lt;br/&gt;/select=list.person.nextindex&lt;br/&gt;/selectionrate=experiment&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture person5&amp;gt;&lt;br/&gt;/items=person&lt;br/&gt;/select=list.person.nextindex&lt;br/&gt;/selectionrate=experiment&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture name1&amp;gt;&lt;br/&gt;/items=name&lt;br/&gt;/select=list.name.nextindex&lt;br/&gt;/selectionrate=experiment&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture name2&amp;gt;&lt;br/&gt;/items=name&lt;br/&gt;/select=list.name.nextindex&lt;br/&gt;/selectionrate=experiment&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture name3&amp;gt;&lt;br/&gt;/items=name&lt;br/&gt;/select=list.name.nextindex&lt;br/&gt;/selectionrate=experiment&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture name4&amp;gt;&lt;br/&gt;/items=name&lt;br/&gt;/select=list.name.nextindex&lt;br/&gt;/selectionrate=experiment&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="34924"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;[code]&amp;lt;values&amp;gt;&lt;br/&gt;/ p1_itemnumber = 1&lt;br/&gt;/ p2_itemnumber = 1&lt;br/&gt;/ p3_itemnumber = 1&lt;br/&gt;/ p4_itemnumber = 1&lt;br/&gt;/ p5_itemnumber = 1&lt;br/&gt;&lt;br/&gt;/ n1_itemnumber = 1&lt;br/&gt;/ n2_itemnumber = 1&lt;br/&gt;/ n3_itemnumber = 1&lt;br/&gt;/ n4_itemnumber = 1&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block exampleblock&amp;gt;&lt;br/&gt;/ trials = [1-200 = exampletrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list personitemnumbers&amp;gt;&lt;br/&gt;/ poolsize = 1000&lt;br/&gt;/ selectionrate = always&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list nameitemnumbers&amp;gt;&lt;br/&gt;/ poolsize = 800&lt;br/&gt;/ selectionrate = always&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial exampletrial&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.p1_itemnumber = list.personitemnumbers.nextindex;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.p2_itemnumber = list.personitemnumbers.nextindex;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.p3_itemnumber = list.personitemnumbers.nextindex;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.p4_itemnumber = list.personitemnumbers.nextindex;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.p5_itemnumber = list.personitemnumbers.nextindex;&lt;br/&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.n1_itemnumber = list.nameitemnumbers.nextindex;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.n2_itemnumber = list.nameitemnumbers.nextindex;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.n3_itemnumber = list.nameitemnumbers.nextindex;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.n4_itemnumber = list.nameitemnumbers.nextindex;&lt;br/&gt;]&lt;br/&gt;/ stimulusframes = [1=person1, person2, person3, person4, person5, name1, name2, name3, name4]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture person1&amp;gt;&lt;br/&gt;/ items = personitems&lt;br/&gt;/ select = values.p1_itemnumber&lt;br/&gt;...&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture person2&amp;gt;&lt;br/&gt;/ items = personitems&lt;br/&gt;/ select = values.p2_itemnumber&lt;br/&gt;...&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture person3&amp;gt;&lt;br/&gt;/ items = personitems&lt;br/&gt;/ select = values.p3_itemnumber&lt;br/&gt;...&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture person4&amp;gt;&lt;br/&gt;/ items = personitems&lt;br/&gt;/ select = values.p4_itemnumber&lt;br/&gt;...&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture person5&amp;gt;&lt;br/&gt;/ items = personitems&lt;br/&gt;/ select = values.p5_itemnumber&lt;br/&gt;...&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture name1&amp;gt;&lt;br/&gt;/ items = nameitems&lt;br/&gt;/ select = values.n1_itemnumber&lt;br/&gt;...&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture name2&amp;gt;&lt;br/&gt;/ items = nameitems&lt;br/&gt;/ select = values.n2_itemnumber&lt;br/&gt;...&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture name3&amp;gt;&lt;br/&gt;/ items = nameitems&lt;br/&gt;/ select = values.n3_itemnumber&lt;br/&gt;...&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture name4&amp;gt;&lt;br/&gt;/ items = nameitems&lt;br/&gt;/ select = values.n4_itemnumber&lt;br/&gt;...&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item personitems&amp;gt;&lt;br/&gt;/ 1 = "person_0001.jpg"&lt;br/&gt;/ 2 = "person_0002.jpg"&lt;br/&gt;/ 3 = "person_0003.jpg"&lt;br/&gt;...&lt;br/&gt;/ 998 = "person_0998.jpg"&lt;br/&gt;/ 999 = "person_0999.jpg"&lt;br/&gt;/ 1000 = "person_1000.jpg"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item nameitems&amp;gt;&lt;br/&gt;/ 1 = "name_0001.jpg"&lt;br/&gt;/ 2 = "name_0002.jpg"&lt;br/&gt;/ 3 = "name_0003.jpg"&lt;br/&gt;...&lt;br/&gt;/ 798 = "name_0798.jpg"&lt;br/&gt;/ 799 = "name_0799.jpg"&lt;br/&gt;/ 800 = "name_0800.jpg"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;[/code]&lt;br/&gt;&lt;br/&gt;is the way to set this up properly. /selectionrate = experiment makes no sense, you want new selections every trial, not a single selection in all of the experiment. And the lists need to be set to /selectionrate = always, because you need to sample multiple itemnumbers from each list in each trial (5 and 4 per trial, respectively).&lt;br/&gt;</description><pubDate>Thu, 10 Nov 2022 00:18:53 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Selection and randomization of pictures within a trial</title><link>https://forums.millisecond.com/Topic34924.aspx</link><description>Thank you!&lt;br/&gt;A couple of follow-up questions if you don't mind: I attempted to randomly select 5 pictures from a pool of 1000 pictures and another 4 from another pool of 800 pictures with no replacement (so picture will only present once throughout the experiment). This would mean I will need 9 &amp;lt;picture&amp;gt; elements, right? &lt;br/&gt;&lt;br/&gt;To do so, I created two lists (List A with 1000 items and List B with 800 items) and within each list, I set /replace = false and /poolsize = 1000 and 800, respectively. Then within those picture elements, I set /selectionrate = experiment. Would this do I what want it to do? I've attached part of the code below if it makes it easier to read. &lt;br/&gt;&lt;br/&gt;I also want to randomize the position of these pictures. Can you point me to some resources if this question has been answered elsewhere?&lt;br/&gt;&lt;br/&gt;Finally, if I want to repeat this until all stimuli have been exhausted (i.e., a total of 200 trials, each trial has 5 pictures from list A and 4 from list B), what would you recommend?&lt;br/&gt;&amp;lt;item person1-1000&amp;gt;&lt;br/&gt;/1= "person1"&lt;br/&gt;...&lt;br/&gt;/1000="person1000"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item name1-800&amp;gt;&lt;br/&gt;/1="name1"&lt;br/&gt;...&lt;br/&gt;/800="name800"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list person&amp;gt;&lt;br/&gt;/items=(1,2,....,1000)&lt;br/&gt;/replace=false&lt;br/&gt;/poolsize=1000&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list name&amp;gt;&lt;br/&gt;/items=(1,2,...,800)&lt;br/&gt;/replace=false&lt;br/&gt;/poolsize=800&lt;br/&gt;&amp;lt;list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture person1&amp;gt;&lt;br/&gt;/items=person&lt;br/&gt;/select=list.person.nextindex&lt;br/&gt;/selectionrate=experiment&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture person2&amp;gt;&lt;br/&gt;/items=person&lt;br/&gt;/select=list.person.nextindex&lt;br/&gt;/selectionrate=experiment&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture person3&amp;gt;&lt;br/&gt;/items=person&lt;br/&gt;/select=list.person.nextindex&lt;br/&gt;/selectionrate=experiment&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture person4&amp;gt;&lt;br/&gt;/items=person&lt;br/&gt;/select=list.person.nextindex&lt;br/&gt;/selectionrate=experiment&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture person5&amp;gt;&lt;br/&gt;/items=person&lt;br/&gt;/select=list.person.nextindex&lt;br/&gt;/selectionrate=experiment&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture name1&amp;gt;&lt;br/&gt;/items=name&lt;br/&gt;/select=list.name.nextindex&lt;br/&gt;/selectionrate=experiment&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture name2&amp;gt;&lt;br/&gt;/items=name&lt;br/&gt;/select=list.name.nextindex&lt;br/&gt;/selectionrate=experiment&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture name3&amp;gt;&lt;br/&gt;/items=name&lt;br/&gt;/select=list.name.nextindex&lt;br/&gt;/selectionrate=experiment&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture name4&amp;gt;&lt;br/&gt;/items=name&lt;br/&gt;/select=list.name.nextindex&lt;br/&gt;/selectionrate=experiment&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Wed, 09 Nov 2022 23:36:34 GMT</pubDate><dc:creator>chenxyu</dc:creator></item><item><title>RE: Selection and randomization of pictures within a trial</title><link>https://forums.millisecond.com/Topic34923.aspx</link><description>&lt;blockquote data-id="34922" class="if-quote-wrapper" unselectable="on" data-guid="1668031596771" id="if_insertedNode_1668031595957" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="34922" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="34922" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="34922" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;chenxyu - 11/9/2022&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-34922"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi Dave, &lt;br/&gt;if I have a total of 1000 pictures and want to randomly select 5 from that pool and present them simultaneously for any given trial, does that mean I have to create a &amp;lt;picture&amp;gt; element for each of the 1000 pictures?&lt;br/&gt;&lt;br/&gt;Thanks for your help!&lt;a class="if-quote-goto quote-link" href="#" data-id="34922"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;No, you need five &amp;lt;picture&amp;gt; elements, since you want to display five images simultaneously.</description><pubDate>Wed, 09 Nov 2022 22:07:24 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Selection and randomization of pictures within a trial</title><link>https://forums.millisecond.com/Topic34922.aspx</link><description>Hi Dave, &lt;br/&gt;if I have a total of 1000 pictures and want to randomly select 5 from that pool and present them simultaneously for any given trial, does that mean I have to create a &amp;lt;picture&amp;gt; element for each of the 1000 pictures?&lt;br/&gt;&lt;br/&gt;Thanks for your help!</description><pubDate>Wed, 09 Nov 2022 21:26:13 GMT</pubDate><dc:creator>chenxyu</dc:creator></item><item><title>RE: Selection and randomization of pictures within a trial</title><link>https://forums.millisecond.com/Topic18943.aspx</link><description>Thank you for this assistance! It was very helpful :-)&lt;br/&gt;</description><pubDate>Wed, 20 Apr 2016 16:53:38 GMT</pubDate><dc:creator>gracethenoob</dc:creator></item><item><title>RE: Selection and randomization of pictures within a trial</title><link>https://forums.millisecond.com/Topic18937.aspx</link><description>What works for &amp;lt;text&amp;gt; elements works for &amp;lt;picture&amp;gt; elements as well. Set up ten filler &amp;lt;picture&amp;gt; elements -- &amp;lt;picture filler01&amp;gt; to &amp;lt;picture filler10&amp;gt; -- and have them select from the same item pool via a &amp;lt;list&amp;gt;; reset that list at the start of each &amp;lt;trial&amp;gt;. Set up a single &amp;lt;picture target&amp;gt; element.&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;&lt;strong&gt;/ ontrialbegin = [list.filleritems.reset(); ]&lt;/strong&gt;&lt;br/&gt;/ stimulustimes = [0=filler01; 500=filler02; 1000=target; 1500=filler04; 2000=filler05; ...]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture target&amp;gt;&lt;br/&gt;/ items = ("t1.jpg", "t2.jpg", "t3.jpg", "t4.jpg", "t5.jpg")&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list filleritems&amp;gt;&lt;br/&gt;/ poolsize = 24&lt;br/&gt;&lt;strong&gt;/ selectionrate = always&lt;/strong&gt;&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture filler01&amp;gt;&lt;br/&gt;/ items = fillerimages&lt;br/&gt;&lt;strong&gt;/ select = list.filleritems.nextindex&lt;/strong&gt;&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture filler02&amp;gt;&lt;br/&gt;/ items = fillerimages&lt;br/&gt;/ select = list.filleritems.nextindex&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture filler03&amp;gt;&lt;br/&gt;/ items = fillerimages&lt;br/&gt;/ select = list.filleritems.nextindex&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture filler04&amp;gt;&lt;br/&gt;/ items = fillerimages&lt;br/&gt;/ select = list.filleritems.nextindex&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture filler05&amp;gt;&lt;br/&gt;/ items = fillerimages&lt;br/&gt;/ select = list.filleritems.nextindex&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;...&lt;br/&gt;&lt;br/&gt;&amp;lt;item fillerimages&amp;gt;&lt;br/&gt;/ 1 = "f1.jpg"&lt;br/&gt;/ 2 = "f2.jpg"&lt;br/&gt;/ 3 = "f3.jpg"&lt;br/&gt;...&lt;br/&gt;/ 24 = "f24.jpg"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Wed, 20 Apr 2016 05:49:01 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>