Original Research Article
Generating stimuli for neuroscience using PsychoPy
Nottingham Visual Neuroscience, School of Psychology, University of Nottingham, UK
PsychoPy is a software library written in Python, using OpenGL to generate very precise visual stimuli on standard personal computers. It is designed to allow the construction of as wide a variety of neuroscience experiments as possible, with the least effort. By writing scripts in standard Python syntax users can generate an enormous variety of visual and auditory stimuli and can interact with a wide range of external hardware (enabling its use in fMRI, EEG, MEG etc.). The structure of scripts is simple and intuitive. As a result, new experiments can be written very quickly, and trying to understand a previously written script is easy, even with minimal code comments. PsychoPy can also generate movies and image sequences to be used in demos or simulated neuroscience experiments. This paper describes the range of tools and stimuli that it provides and the environment in which experiments are conducted.
Keywords: Python, psychophysics, software, vision, neuroscience, EEG, fMRI, MEG
Copyright: © Peirce. This is an open-access article subject to an exclusive license agreement between the authors and the Frontiers Research Foundation, which permits unrestricted use, distribution, and reproduction in any medium, provided the original authors and source are credited.
*Correspondence: Dr. Jonathan Peirce, School of Psychology, University of Nottingham, University Park, Nottingham, NG7 2RD. UK jon@peirce.org.uk
Citation: Peirce JW (2008) Generating stimuli for neuroscience using PsychoPy. Front. Neuroinform. doi:10.3389/neuro.11.010.2008
Received: 09 September 2008; paper pending published: 27 October 2008; accepted: 19 December 2008;
Edited by:
Rolf Kötter, Radboud University Nijmegen, The Netherlands
Reviewed by:
Peter Tass, Research Center Jülich, Germany
Andrew D. Straw, California Institute of Technology, USA
Andrew D. Straw, California Institute of Technology, USA
*Correspondence: Dr. Jonathan Peirce, School of Psychology, University of Nottingham, University Park, Nottingham, NG7 2RD. UK jon@peirce.org.uk


