Group: Forum Members
Posts: 43,
Visits: 76
|
Hi,
It is possible that I have wrong assumptions - in thta case, please let me know. I need to prepare script which is based on this description from Bellaera et al. (2013):
"visual search task, which consisted of one practice and 16 experimental blocks, with 24 trials in each block (total 408 trials). The main independent variable was display type (old or new). In old displays, the same 12 randomly gener- ated configurations were shown repeatedly across blocks. In these the target was presented in the same location within any particular configuration, and thus the target–distractor spatial layout was consistent (but not the target orientation). For new displays, 192 different configurations were randomly generated for 12 new configurations in every block. To rule out location probability effects, the target appeared equally often in each of 24 possible locations throughout the experiment (12 target locations used for old and new, respect- ively)."
So, I figured it out that I need 16 blocks containing 24 trials each. For every trial it has to be used random stimulus from one of two (???) lists. First list should contain 12 stimuli and the second - 192 stimyli.
The stimulus used in any particular trial should be randomly chosen from one of two lists (probability=0,5); from 1st list with replacement or from 2nd list without replacement.
Of course I need to prepare 204 *png files with different patterns, for now I have 12 "filler" pictures. My concern is the construction of the script - graphics will follow the script :)
Is my reasoning correct? Is that possible to do it in Inquisit? Maybe there is another (simplier) way?
My script for now is as fllows:
EXPERIMENT
<expt> /postinstructions = (end) /blocks = [1 = generalinstructions; 2 = practice; 3-18 = testblock] </expt>
BLOCKS
<block testblock> /trials = [1 = instr; 2-25 = test; 26 = rest] </block>
<block generalinstructions> /trials = [1 = generalinstructions] </block>
<block practice> /trials = [1 = practice] </block>
TRIALS
<trial test> / ontrialbegin = [values.counttrials += 1] / stimulustimes = [ 0 = fixation; 750 = eraser; 1000 = list.items ] / beginresponsetime = 1000 /ontrialend = [trial.test.resetstimulusframes()] /beginresponsetime = (values.fixationduration) /responseinterrupt = immediate / validresponse = (79, 89) / monkeyresponse = (79, 89) /recorddata = true </trial>
<trial practice> / ontrialbegin = [values.counttrials += 1] / stimulustimes = [ 0 = fixation; 750 = eraser; 1000 = list.items ] / beginresponsetime = 1000 /ontrialend = [trial.test.resetstimulusframes()] /beginresponsetime = (values.fixationduration) /responseinterrupt = immediate / validresponse = (79, 89) / monkeyresponse = (79, 89) /recorddata = FALSE </trial>
<trial instr> /stimulusframes = [1 = instr] / correctresponse = (" ") </trial>
<trial generalinstructions> /stimulusframes = [1 = generalinstructions] / correctresponse = (" ") </trial>
<trial rest> /stimulusframes = [1 = resttimer] /timeout = clock.resttimer.timeout /recorddata = true </trial>
OTHERS
<picture instr> /items = instr /position = (50%, 50%) /size = (100%, 100%) </picture>
<item instr> / 1= "instr.png" </item>
<picture generalinstructions> /items = generalinstructions /position = (50%, 50%) /size = (100%, 100%) </picture>
<item generalinstructions> / 1= "generalinstructions.png" </item>
<list items> / items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12) / itemprobabilities = (.083, .083, .083, .083, .083, .083, .083, .083, .083, .083, .083, .083) / poolsize = 36 /replace = false /resetinterval = 1 </list>
<item stims> /1 = "Tc.png" /2 = "Ts.png" /3 = "Td.png" /4 = "Ct.png" /5 = "Cs.png" /6 = "Cd.png" /7 = "Dc.png" /8 = "Ds.png" /9 = "Dt.png" /10 = "Sc.png" /11 = "Sd.png" /12 = "St.png" </item>
<text fixation> /items = ("+") / fontstyle = ("Arial", 33, false, false, false, false, 5, 1) / txcolor = (white) /txbgcolor = (black) /position = (50%, 50%) </text>
<clock resttimer> / mode = timer / resetrate = block / erase = false / txcolor = yellow / txbgcolor = black / timeout = values.restduration / position = (50%, 50%) / format = "mm:ss" / fontstyle = ("Arial", 15%, false, false, false, false, 5, 1) </clock>
<shape eraser> /shape = rectangle /color = black /size = (100%, 100%) /position = (50%, 50%) </shape>
<values> /restduration = 20000 /counttrials = 0 / fixationduration = 750 </values>
<page end> Ukończono tę część badania! </page>
|