PsychoPy—Psychophysics software in Python

Jonathan W. Peirce

Code and Data Abstract

The vast majority of studies into visual processing are conducted using computer display technology. The current paper describes a new free suite of software tools designed to make this task easier, using the latest advances in hardware and software. PsychoPy is a platform-independent experimental control system written in the Python interpreted language using entirely free libraries. PsychoPy scripts are designed to be extremely easy to read and write, while retaining complete power for the user to customize the stimuli and environment.

Tools are provided within the package to allow everything from stimulus presentation and response collection (from a wide range of devices) to simple data analysis such as psychometric function fitting. Most importantly, PsychoPy is highly extensible and the whole system can evolve via user contributions. If a user wants to add support for a particular stimulus, analysis or hardware device they can look at the code for existing examples, modify them and submit the modifications back into the package so that the whole community benefits.

Many additional demo programs including screenshots are available on the project website


Jonathan W. Peirce. 2007. "PsychoPy—Psychophysics software in Python." Journal of Neuroscience Methods. 162 (1-2) 8–13.    doi:10.1016/j.jneumeth.2006.11.017. Retrieved 09/15/2019 from

Compendium Type: Journal or Magazine Articles
Primary Research Field: Computer and Information Sciences
Secondary Research Field: Mathematics
Content License: Public Domain Mark
Code License: MIT License

Page Owner

created 02/21/2014

modified 02/21/2014

blog comments powered by Disqus