By yaz - 3/12/2018
Hi,
I am working on an Implicit Association Task (IAT) and would like to know how I could add a coloured frame around the two stimuli images. However, I need two coloured frames for each trial (the two images in one trial should be in a blue frame while the two images in another trial should be in a yellow frame).
Thank you for your time in advance.
|
By Dave - 3/12/2018
+xHi, I am working on an Implicit Association Task (IAT) and would like to know how I could add a coloured frame around the two stimuli images. However, I need two coloured frames for each trial (the two images in one trial should be in a blue frame while the two images in another trial should be in a yellow frame). Thank you for your time in advance. You need to set up <shape> elements that serve as the "frame". /size them slightly larger than the target stimuli and display them "behind" the targets.
<trial example> / stimulusframes = [1=frame, target] / validresponse = (57) </trial>
<shape frame> / shape = rectangle / color = yellow / size = (21%, 21%) </shape>
<text target> / items = ("Some text.") / size = (20%, 20%) / txbgcolor = white / vjustify = center </text>
|
By yaz - 3/12/2018
+x+xHi, I am working on an Implicit Association Task (IAT) and would like to know how I could add a coloured frame around the two stimuli images. However, I need two coloured frames for each trial (the two images in one trial should be in a blue frame while the two images in another trial should be in a yellow frame). Thank you for your time in advance. You need to set up <shape> elements that serve as the "frame". /size them slightly larger than the target stimuli and display them "behind" the targets. <trial example> / stimulusframes = [1=frame, target] / validresponse = (57) </trial> <shape frame> / shape = rectangle / color = yellow / size = (21%, 21%) </shape> <text target> / items = ("Some text.") / size = (20%, 20%) / txbgcolor = white / vjustify = center </text> Thank you very much
|
By yaz - 3/12/2018
+x+x+xHi, I am working on an Implicit Association Task (IAT) and would like to know how I could add a coloured frame around the two stimuli images. However, I need two coloured frames for each trial (the two images in one trial should be in a blue frame while the two images in another trial should be in a yellow frame). Thank you for your time in advance. You need to set up <shape> elements that serve as the "frame". /size them slightly larger than the target stimuli and display them "behind" the targets. <trial example> / stimulusframes = [1=frame, target] / validresponse = (57) </trial> <shape frame> / shape = rectangle / color = yellow / size = (21%, 21%) </shape> <text target> / items = ("Some text.") / size = (20%, 20%) / txbgcolor = white / vjustify = center </text> Thank you very much Is there a way in which I can randomly alternate between the presentation of the yellow and blue frame between the trials?
Thank you for your help.
|
By Dave - 3/12/2018
+x+x+x+xHi, I am working on an Implicit Association Task (IAT) and would like to know how I could add a coloured frame around the two stimuli images. However, I need two coloured frames for each trial (the two images in one trial should be in a blue frame while the two images in another trial should be in a yellow frame). Thank you for your time in advance. You need to set up <shape> elements that serve as the "frame". /size them slightly larger than the target stimuli and display them "behind" the targets. <trial example> / stimulusframes = [1=frame, target] / validresponse = (57) </trial> <shape frame> / shape = rectangle / color = yellow / size = (21%, 21%) </shape> <text target> / items = ("Some text.") / size = (20%, 20%) / txbgcolor = white / vjustify = center </text> Thank you very much Is there a way in which I can randomly alternate between the presentation of the yellow and blue frame between the trials? Thank you for your help. Sure, the easiest way would probably be to simply randomly switch the <shape>'s color as needed on a per-trial basis. Suppose you have 10 trials total, and want the shape to be yellow in half of the trials, blue in the other half:
<block myblock> / trials = [1-10=example] </block>
<list framecolor> / items = (yellow, blue) / poolsize = 10 </list>
<trial example> / ontrialbegin = [ shape.frame.color = list.framecolor.nextvalue; ] / stimulusframes = [1=frame, target] / validresponse = (57) </trial>
<shape frame> / shape = rectangle / color = white / size = (21%, 21%) </shape>
<text target> / items = ("Some text.") / size = (20%, 20%) / txbgcolor = white / vjustify = center </text>
|
|