By nakayama - 11/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.
|
By Dave - 11/7/2018
+xHi 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>
|
By nakayama - 11/12/2018
+x+xHi 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:)
|
By nakayama - 11/12/2018
+x+xHi 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;)
|
By Dave - 11/12/2018
+x+x+xHi 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.
|
|