Python for experimental psychologists

Edwin S. Dalmaijer*

*Corresponding author for this work

Research output: Book/ReportAuthored book

3 Citations (Scopus)


Programming is an important part of experimental psychology and cognitive neuroscience, and Python is an ideal language for novices. It sports a very readable syntax, intuitive variable management, and a very large body of functionality that ranges from simple arithmetic to complex computing. Python for Experimental Psychologists provides researchers without prior programming experience with the knowledge they need to independently script experiments and analyses in Python. The skills it offers include: how to display stimuli on a computer screen; how to get input from peripherals (e.g. keyboard, mouse) and specialised equipment (e.g. eye trackers); how to log data; and how to control timing. In addition, it shows readers the basic principles of data analysis applied to behavioural data, and the more advanced techniques required to analyse trace data (e.g. pupil size) and gaze data. Written informally and accessibly, the book deliberately focuses on the parts of Python that are relevant to experimental psychologists and cognitive neuroscientists. It is also supported by a companion website where you will find colour versions of the figures, along with example stimuli, datasets and scripts, and a portable Windows installation of Python.

Original languageEnglish
PublisherTaylor & Francis Group
Number of pages216
ISBN (Electronic)9781317206446
ISBN (Print)9781138671560
Publication statusPublished - 1 Jan 2016

Bibliographical note

Publisher Copyright:
© 2017 Edwin S. Dalmaijer.


Dive into the research topics of 'Python for experimental psychologists'. Together they form a unique fingerprint.

Cite this