Skip to content
Discussion options

You must be logged in to vote

The plugin code doesn't start listening for a keyboard response until after the target appears, so any responses prior to that would be ignored. You can see in the source code that the keyboard listener is created after the target is displayed.

If you want to capture anticipatory responses then you could modify the plugin and move the keyboard listener code outside the function that displays the target. The RT value would then be relative to the onset of the entire stimulus. You could correct the RT after the fact, or correct it in the plugin by subtracting the pre_target_duration parameter from the RT prior to the end of the trial.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jodeleeuw
Comment options

@vekteo
Comment options

Answer selected by vekteo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants