What is PsychoPy?
PsychoPy is a Python-based platform for designing and executing experiments involving stimulus presentation and response collection. It supports both in-lab and online studies, making it a versatile tool for behavioral and cognitive research. Users can create experiments using its graphical interface (Builder), write custom Python scripts (Coder), or combine both methods.
How Does PsychoPy Work?
- Experiment Design: Create experiments using the Builder (drag-and-drop) or Coder (Python scripting) interfaces.
- Stimulus Presentation: Present visual, auditory, or multimedia stimuli with precise timing.
- Response Collection: Gather responses from various input devices like keyboards, mice, or specialized hardware (e.g., EEG, eye trackers).
- Data Analysis: Export data for further processing in statistical tools like SPSS or Python.
Why Use PsychoPy?
- Free & Open Source: No cost for use, with an active community contributing to its development.
- Flexible: Supports complex experimental designs and a wide variety of stimuli.
- Cross-Platform: Runs on Windows, macOS, and Linux.
- Online Compatibility: Allows experiments to be run online via Pavlovia.
- Precise Timing: Ensures accurate stimulus presentation critical for psychophysics and neuroscience.
Key Features
Stimulus Presentation
- Wide variety of stimuli: images, text, movies, sounds, gratings, random dots.
- Multi-monitor support and automated monitor calibration.
- Real-world units (e.g., degrees of visual angle).
Experiment Design
- Builder Interface: Drag-and-drop panels to design experiments without coding.