This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
autolog function in the eyelink_logger item only logs built-in variables such as 'response_time', but not variables that are manually set (either via the GUI or via exp.set()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location_target = self.get('location_target') | |
resp = self.get("response") | |
# Here you determine whether the response is correct, like | |
# the scripts posted earlier by yourself and Edwin. | |
# The only addition is the else-statement at the end, | |
# to make sure that RT should be included in the averages | |
# if location_target is not "none". | |
if location_target == "none": # No-trial | |
# In OpenSesame 0.27, no-responses are saved as 'None' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location_target = self.get('location_target') | |
resp = self.get("response") | |
# Here you determine whether the response is correct, like | |
# the scripts posted earlier by yourself and Edwin. | |
# The only addition is the else-statement at the end, | |
# to make sure that RT should be included in the averages | |
# ig location_target is not "none". | |
if location_target == "none": # No-trial | |
# In OpenSesame 0.27, no-responses are saved as 'None' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global lRT, lCorrect | |
lRT = [] | |
lCorrect = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location_target = self.get('location_target') | |
resp = self.get("response") | |
# Here you determine whether the response is correct, like | |
# the scripts posted earlier by yourself and Edwin. | |
# The only addition is the else-statement at the end, | |
# to make sure that RT should be included in the averages | |
# ig location_target is not "none". | |
if location_target == "none": # No-trial | |
# In OpenSesame 0.27, no-responses are saved as 'None' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The response time on a given trial can be retrieved in an | |
# inline_script item like so: | |
trial_rt = self.get("response_time") | |
# Check whether the RT matches your criteria: | |
if trial_rt > 3000: | |
show_feedback = "yes" | |
else: | |
show_feedback = "no" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated by OpenSesame 0.27~pre15 (Frisky Freud) | |
# Thu Oct 18 12:22:38 2012 (posix) | |
# <http://www.cogsci.nl/opensesame> | |
set foreground "white" | |
set subject_parity "even" | |
set font_size "18" | |
set description "A template containing a practice and an experimental phase" | |
set title "Extended template" | |
set start "experiment" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The response time on a given trial can be retrieved in an | |
# inline_script item like so: | |
trial_rt = self.get("response_time") | |
# Check whether the RT matches your criteria: | |
if trial_rt > 3000: | |
show_feedback = "yes" | |
else: | |
show_feedback = "no" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated by OpenSesame 0.27~pre15 (Frisky Freud) | |
# Thu Oct 18 11:44:08 2012 (posix) | |
# <http://www.cogsci.nl/opensesame> | |
set foreground "white" | |
set subject_parity "even" | |
set font_size "18" | |
set description "A template containing a practice and an experimental phase" | |
set title "Extended template" | |
set start "experiment" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The response time on a given trial can be retrieved in an | |
# inline_script item like so: | |
trial_rt = self.get("response_time_keyboard_response") | |
# Check whether the RT matches your criteria: | |
if trial_rt > 3000: | |
show_feedback = "yes" | |
else: | |
show_feedback = "no" |
NewerOlder