O'Reilly logo

Python for Experimental Psychologists by Edwin S. Dalmaijer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

4 PROCESSING RESPONSES

 

 

 

 

 

Almost every computer-based experiment in psychology and cognitive neuroscience requires participants to respond in one way or another. The most common instrument to collect these responses is the computer keyboard. In the following sections, you will learn how to collect and process key presses.

Are peripherals accurate enough?

Some researchers claim that keyboards are too slow for their purposes, as they require ‘millisecond accuracy’. Because it is important to know your tools, this chapter will investigate this claim.

In most operating systems, peripherals (keyboards, mice, joysticks, game controllers, etc.) are polled at a certain rate. Polling a device means checking its state: are any of the keys ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required