
A high-performance Python library for cognitive and neuroscientific experiments.
Expyriment is an open-source Python library designed for the development and execution of psychological and neuroscientific experiments. Architecturally, it sits atop Pygame and OpenGL, providing a robust abstraction layer for stimulus presentation and hardware interfacing. As of 2026, it remains a critical tool for researchers requiring millisecond-precise timing accuracy across heterogeneous operating systems including Windows, macOS, Linux, and Android. The platform's modular design allows for the seamless integration of various input devices and data acquisition hardware, such as EEG, fMRI (via synchronization pulses), and eye-trackers. Its technical philosophy emphasizes reproducibility through script-based experiment design, contrasting with GUI-driven alternatives. In the 2026 market, Expyriment maintains a competitive edge within the academic sector due to its extensive library of pre-defined stimuli (visual, auditory) and its ability to handle complex experimental structures like nested blocks and randomized trials with minimal code overhead. The software is particularly valued for its lightweight footprint and its capacity to run natively on mobile hardware for field-based behavioral studies.
Uses high-resolution system clocks and double-buffered stimulus presentation to ensure sub-millisecond variance in onset times.
Verified feedback from the global deployment network.
Post queries, share implementation strategies, and help other users.
Standardized wrappers for Serial, Parallel, MIDI, and USB-HID communication.
Leverages the Kivy backend to run experiments on mobile devices.
Automated creation of data files and event logs with comprehensive headers and metadata.
Supports real-time alpha blending and visual masking via OpenGL shaders.
Extensible system for adding support for proprietary eye-trackers or custom response boxes.
Internal tools to measure and report the timing accuracy of the specific hardware running the experiment.
Needs precise measurement of reaction time differences between congruent and incongruent stimuli.
Registry Updated:2/7/2026
Log results to CSV
Requires sending a digital trigger to an EEG amplifier exactly at the moment a visual stimulus appears.
Conducting research in remote areas without desktop computers.