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 ...

Get Python for Experimental Psychologists now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.