Rectangle shapes as responses


Author
Message
atolopilo
atolopilo
Associate Member (159 reputation)Associate Member (159 reputation)Associate Member (159 reputation)Associate Member (159 reputation)Associate Member (159 reputation)Associate Member (159 reputation)Associate Member (159 reputation)Associate Member (159 reputation)Associate Member (159 reputation)
Group: Forum Members
Posts: 7, Visits: 36
Hello,

I'm doing some research in which participant i asked to response "if any of 4 faces is different from the others". For now it was pretty easy, because they could have chose only "p" if one of them is different or "q" if all of them are the same.

Now I want to precise which of 4 faces is different, and participant will be asked to click on the face they think is different. So I think about putting 4 rectangle shapes on the picture and want to know only, which rectangle they chose. It's kind a face in the crowd task, but i've seen the script and it doesn't fit mine. 

Down below you can see an ex. of a trial and picture, that is one of the tasks.

<trial agency_minus>
/ stimulustimes = [1=fiksacja; 2000=noreplace(1_agency_minus, 2_agency_minus, 3_agency_minus, 4_agency_minus, 5_agency_minus, 6_agency_minus, 7_agency_minus, 8_agency_minus, 9_agency_minus, 10_agency_minus, 11_agency_minus, 12_agency_minus, 13_agency_minus, 14_agency_minus, 15_agency_minus, 16_agency_minus)]
/ validresponse = lbuttondblclk
/ inputdevice = mouse
</trial>


I'll be glad for any suggestion and help :)

Thank You!



Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 105K
atolopilo - Saturday, September 9, 2017
Hello,

I'm doing some research in which participant i asked to response "if any of 4 faces is different from the others". For now it was pretty easy, because they could have chose only "p" if one of them is different or "q" if all of them are the same.

Now I want to precise which of 4 faces is different, and participant will be asked to click on the face they think is different. So I think about putting 4 rectangle shapes on the picture and want to know only, which rectangle they chose. It's kind a face in the crowd task, but i've seen the script and it doesn't fit mine. 

Down below you can see an ex. of a trial and picture, that is one of the tasks.

<trial agency_minus>
/ stimulustimes = [1=fiksacja; 2000=noreplace(1_agency_minus, 2_agency_minus, 3_agency_minus, 4_agency_minus, 5_agency_minus, 6_agency_minus, 7_agency_minus, 8_agency_minus, 9_agency_minus, 10_agency_minus, 11_agency_minus, 12_agency_minus, 13_agency_minus, 14_agency_minus, 15_agency_minus, 16_agency_minus)]
/ validresponse = lbuttondblclk
/ inputdevice = mouse
</trial>


I'll be glad for any suggestion and help :)

Thank You!



I'm not sure what the question is. Could you clarify what exactly you're having trouble with, please?

Generally speaking, you simply define your for rectangular <shape> elements, /size and /position them as needed, let's call the q1 to q4 for quadrant 1 to quadrant 4 (left to right, top to bottom)

// quadrant 1 (left, top)
<shape q1>
/ shape = rectangle
/ color = white (or whatever the screen color is, so that the shape isn't visible)
/ size = (define size as needed)
/ position = (define position as needed)
</shape>
...
// quadrant 4 (right, bottom)
<shape q4>
...
</shape>

Then have your <trial> display those shapes along with the other stimuli

<trial agency_minus>
/ stimulustimes = [1=q1,q2,q3,q4, fiksacja; 2000=noreplace(1_agency_minus, 2_agency_minus, 3_agency_minus, 4_agency_minus, 5_agency_minus, 6_agency_minus, 7_agency_minus, 8_agency_minus, 9_agency_minus, 10_agency_minus, 11_agency_minus, 12_agency_minus, 13_agency_minus, 14_agency_minus, 15_agency_minus, 16_agency_minus)]
/ validresponse = lbuttondblclk
/ inputdevice = mouse
</trial>

and define them as the trial's valid responses:

<trial agency_minus>
/ stimulustimes = [1=q1,q2,q3,q4, fiksacja; 2000=noreplace(1_agency_minus, 2_agency_minus, 3_agency_minus, 4_agency_minus, 5_agency_minus, 6_agency_minus, 7_agency_minus, 8_agency_minus, 9_agency_minus, 10_agency_minus, 11_agency_minus, 12_agency_minus, 13_agency_minus, 14_agency_minus, 15_agency_minus, 16_agency_minus)]
/ validresponse = (q1, q2, q3, q4)
/ inputdevice = mouse
</trial>


Edited 8 Years Ago by Dave
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search