Created
October 18, 2012 10:25
-
-
Save lvanderlinden/3910901 to your computer and use it in GitHub Desktop.
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" | |
# Make the variable show_feedback available in the interface | |
# so that you can use it for "Run if" statements: | |
exp.set("show_feedback", show_feedback) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment