Scripts for closed-loop stimulation based on real-time prediction of behaviour from EEG data.
This repository provides code for running a closed-loop stimulation GUI that uses participant-specific machine learning classifiers to make real-time behavioural predictions during task performance.
The program is designed to run in real time while EEG data are streamed. It follows precise timing constraints during behavioural tasks and is largely task-agnostic, so it can be adapted to work with other experimental platforms or task structures.
After installing the required dependencies, launch the closed-loop stimulation GUI from the terminal:
python GMICLES.py