Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 5
»
valid response syntax
valid response syntax
Post Reply
Like
39
valid response syntax
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
nakayama
nakayama
posted 6 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 72,
Visits: 408
Hi Inquisit Community,
I wonder whether the valid response can be specified when presenting two overlapped stimuli.
I wish the valid response is specified as only the blue part but including not the overlapping part.
for example I was looking for something like
/ stimulustimes = [0=Layer1,Layer2]
/ validresponse = (Layer1 & -Layer2)
Is there a way to do this?
Thank you in advance.
Reply
Like
39
Dave
Dave
posted 6 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 104K
+
x
nakayama - Wednesday, November 7, 2018
Hi Inquisit Community,
I wonder whether the valid response can be specified when presenting two overlapped stimuli.
I wish the valid response is specified as only the blue part but including not the overlapping part.
for example I was looking for something like
/ stimulustimes = [0=Layer1,Layer2]
/ validresponse = (Layer1 & -Layer2)
Is there a way to do this?
Thank you in advance.
Yes, this can be done via /isvalidresponse:
<shape layer1>
/ shape = rectangle
/ color = blue
/ size = (60%, 40%)
</shape>
<shape layer2>
/ shape = rectangle
/ color = red
/ size = (50%, 30%)
</shape>
// order in /validresponse matters, we'll check layer2 first
// we invalidate any click within layer2 per /isvalidresponse
// result: only clicks within layer1, excluding the area covered by layer2, are accepted as response.
<trial mytrial>
/ inputdevice = mouse
/ stimulusframes = [1=layer1, layer2]
/ validresponse = (layer2, layer1)
/ isvalidresponse = [
if (trial.mytrial.response == "layer2") false else true;
]
</trial>
<block myblock>
/ trials = [1-4 = mytrial]
</block>
Reply
Like
42
nakayama
nakayama
posted 6 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 72,
Visits: 408
+
x
Dave - Thursday, November 8, 2018
+
x
nakayama - Wednesday, November 7, 2018
Hi Inquisit Community,
I wonder whether the valid response can be specified when presenting two overlapped stimuli.
I wish the valid response is specified as only the blue part but including not the overlapping part.
for example I was looking for something like
/ stimulustimes = [0=Layer1,Layer2]
/ validresponse = (Layer1 & -Layer2)
Is there a way to do this?
Thank you in advance.
Yes, this can be done via /isvalidresponse:
<shape layer1>
/ shape = rectangle
/ color = blue
/ size = (60%, 40%)
</shape>
<shape layer2>
/ shape = rectangle
/ color = red
/ size = (50%, 30%)
</shape>
// order in /validresponse matters, we'll check layer2 first
// we invalidate any click within layer2 per /isvalidresponse
// result: only clicks within layer1, excluding the area covered by layer2, are accepted as response.
<trial mytrial>
/ inputdevice = mouse
/ stimulusframes = [1=layer1, layer2]
/ validresponse = (layer2, layer1)
/ isvalidresponse = [
if (trial.mytrial.response == "layer2") false else true;
]
</trial>
<block myblock>
/ trials = [1-4 = mytrial]
</block>
thank you Dave! it works very well:)
Reply
Like
35
nakayama
nakayama
posted 6 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 72,
Visits: 408
+
x
Dave - Thursday, November 8, 2018
+
x
nakayama - Wednesday, November 7, 2018
Hi Inquisit Community,
I wonder whether the valid response can be specified when presenting two overlapped stimuli.
I wish the valid response is specified as only the blue part but including not the overlapping part.
for example I was looking for something like
/ stimulustimes = [0=Layer1,Layer2]
/ validresponse = (Layer1 & -Layer2)
Is there a way to do this?
Thank you in advance.
Yes, this can be done via /isvalidresponse:
<shape layer1>
/ shape = rectangle
/ color = blue
/ size = (60%, 40%)
</shape>
<shape layer2>
/ shape = rectangle
/ color = red
/ size = (50%, 30%)
</shape>
// order in /validresponse matters, we'll check layer2 first
// we invalidate any click within layer2 per /isvalidresponse
// result: only clicks within layer1, excluding the area covered by layer2, are accepted as response.
<trial mytrial>
/ inputdevice = mouse
/ stimulusframes = [1=layer1, layer2]
/ validresponse = (layer2, layer1)
/ isvalidresponse = [
if (trial.mytrial.response == "layer2") false else true;
]
</trial>
<block myblock>
/ trials = [1-4 = mytrial]
</block>
Hi Dave,
may I add another question down here?
I want to know whether the Inquisit5 allows to create some rotating shapes (fro example rotate right 30deg) like this.
Is there one syntax to do this?
Thank you;)
Reply
Like
36
Dave
Dave
posted 6 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 104K
+
x
nakayama - Tuesday, November 13, 2018
+
x
Dave - Thursday, November 8, 2018
+
x
nakayama - Wednesday, November 7, 2018
Hi Inquisit Community,
I wonder whether the valid response can be specified when presenting two overlapped stimuli.
I wish the valid response is specified as only the blue part but including not the overlapping part.
for example I was looking for something like
/ stimulustimes = [0=Layer1,Layer2]
/ validresponse = (Layer1 & -Layer2)
Is there a way to do this?
Thank you in advance.
Yes, this can be done via /isvalidresponse:
<shape layer1>
/ shape = rectangle
/ color = blue
/ size = (60%, 40%)
</shape>
<shape layer2>
/ shape = rectangle
/ color = red
/ size = (50%, 30%)
</shape>
// order in /validresponse matters, we'll check layer2 first
// we invalidate any click within layer2 per /isvalidresponse
// result: only clicks within layer1, excluding the area covered by layer2, are accepted as response.
<trial mytrial>
/ inputdevice = mouse
/ stimulusframes = [1=layer1, layer2]
/ validresponse = (layer2, layer1)
/ isvalidresponse = [
if (trial.mytrial.response == "layer2") false else true;
]
</trial>
<block myblock>
/ trials = [1-4 = mytrial]
</block>
Hi Dave,
may I add another question down here?
I want to know whether the Inquisit5 allows to create some rotating shapes (fro example rotate right 30deg) like this.
Is there one syntax to do this?
Thank you;)
No, I'm afraid rotating stimuli is currently not among its capabilities.
Reply
Like
36
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
39
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search