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

5 SCRIPTING AN EXPERIMENT

 

 

 

 

 

In this example, you will be creating your very own experiment. Unlike the earlier examples, this will be a complete experiment that includes everything from displaying stimuli to logging data. You will learn how to prepare stimuli up front, how to precisely control display timing, how to collect responses and calculate accuracy and reaction times, how to randomise trials, how to loop through a pre-defined list of trials, and how to store experimental data.

The vehicle for your learning trip will be a Posner-type, exogenous cueing task. This is a very influential paradigm that was originally conceived in 1980 by a Big Cheese in attention research, Michael I. Posner (Posner, 1980). Despite its age, variations ...

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