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

3CREATING AND PRESENTING STIMULI

 

 

 

 

 

In this chapter, you will learn how to create some basic stimuli, and how to present these on a computer display. To do this, you will write scripts in which you will use classes from two external packages: PyGaze (Dalmaijer, Mathôt, & Van der Stigchel, 2014), and PsychoPy (Peirce, 2007, 2009).

These external packages can do pretty much anything you could need in a psychological experiment. This includes presenting stimuli on a monitor; producing sound; collecting responses from keyboards, computer mice, joysticks, and controllers; communicating with eye trackers; logging data; and accurately timing events. Which package you choose is entirely up to you (or your teacher, if you’re using this book ...

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