Now that you know how to analyse reaction time and accuracy data, it’s time to move on to something a bit more complicated: trace analysis. A trace can be any type of data that you collect continuously: pupil size, EEG, fMRI, force output, movement velocity, and so on. It doesn’t really matter where the trace comes from, the basic steps of the analysis are always the same: you collect the traces for individual trials, average them per condition, and then test where the traces are different between conditions.


Pupil size

In this section, you will use an example dataset of pupillometry measurements. You can download it from the companion website www­.ro­utl­edg­e.c­om/­cw/­dal­mai­jer. Put this file ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.