Related Experiment Video
Updated: Apr 12, 2026

Brain-Computer Interface-controlled Upper Limb Robotic System for Enhancing Daily Activities in Stroke Patients
Published on: April 18, 2025
Wyrm: A Brain-Computer Interface Toolbox in Python
Bastian Venthur1, Sven Dähne2,3,4, Johannes Höhne2
1Department of Neurotechnology, Technische Universität Berlin, Sekr. MAR 4-3 Marchstraße 23, 10587, Berlin, Germany. bastian.venthur@tu-berlin.de.
Abstract:
In the last years Python has gained more and more traction in the scientific community. Projects like NumPy, SciPy, and Matplotlib have created a strong foundation for scientific computing in Python and machine learning packages like scikit-learn or packages for data analysis like Pandas are building on top of it. In this paper we present Wyrm ( https://github.com/bbci/wyrm ), an open source BCI toolbox in Python. Wyrm is applicable to a broad range of neuroscientific problems. It can be used as a toolbox for analysis and visualization of neurophysiological data and in real-time settings, like an online BCI application. In order to prevent software defects, Wyrm makes extensive use of unit testing. We will explain the key aspects of Wyrm's software architecture and design decisions for its data structure, and demonstrate and validate the use of our toolbox by presenting our approach to the classification tasks of two different data sets from the BCI Competition III. Furthermore, we will give a brief analysis of the data sets using our toolbox, and demonstrate how we implemented an online experiment using Wyrm. With Wyrm we add the final piece to our ongoing effort to provide a complete, free and open source BCI system in Python.
Related Concept Videos
Brain Waves
Functional Brain Systems: Limbic System
Brainstem
The Midbrain
The midbrain is located beneath the diencephalon and connects the cerebrum with the lower parts of the brain. The cerebral peduncles are prominent midbrain structures that house the...

