BioPyC, an Open-Source Python Toolbox for Offline Electroencephalographic and Physiological Signals Classification
- PMID: 34502629
- PMCID: PMC8433891
- DOI: 10.3390/s21175740
BioPyC, an Open-Source Python Toolbox for Offline Electroencephalographic and Physiological Signals Classification
Abstract
Research on brain-computer interfaces (BCIs) has become more democratic in recent decades, and experiments using electroencephalography (EEG)-based BCIs has dramatically increased. The variety of protocol designs and the growing interest in physiological computing require parallel improvements in processing and classification of both EEG signals and bio signals, such as electrodermal activity (EDA), heart rate (HR) or breathing. If some EEG-based analysis tools are already available for online BCIs with a number of online BCI platforms (e.g., BCI2000 or OpenViBE), it remains crucial to perform offline analyses in order to design, select, tune, validate and test algorithms before using them online. Moreover, studying and comparing those algorithms usually requires expertise in programming, signal processing and machine learning, whereas numerous BCI researchers come from other backgrounds with limited or no training in such skills. Finally, existing BCI toolboxes are focused on EEG and other brain signals but usually do not include processing tools for other bio signals. Therefore, in this paper, we describe BioPyC, a free, open-source and easy-to-use Python platform for offline EEG and biosignal processing and classification. Based on an intuitive and well-guided graphical interface, four main modules allow the user to follow the standard steps of the BCI process without any programming skills: (1) reading different neurophysiological signal data formats, (2) filtering and representing EEG and bio signals, (3) classifying them, and (4) visualizing and performing statistical tests on the results. We illustrate BioPyC use on four studies, namely classifying mental tasks, the cognitive workload, emotions and attention states from EEG signals.
Keywords: Python platform; brain–computer interfaces (BCI); electroencephalography (EEG); machine learning; physiological signals; signal processing.
Conflict of interest statement
The authors declare no conflict of interest.
Figures
![Figure 1](https://cdn.statically.io/img/www.ncbi.nlm.nih.gov/pmc/articles/instance/8433891/bin/sensors-21-05740-g001.gif)
![Figure 2](https://cdn.statically.io/img/www.ncbi.nlm.nih.gov/pmc/articles/instance/8433891/bin/sensors-21-05740-g002.gif)
![Figure 3](https://cdn.statically.io/img/www.ncbi.nlm.nih.gov/pmc/articles/instance/8433891/bin/sensors-21-05740-g003.gif)
![Figure 4](https://cdn.statically.io/img/www.ncbi.nlm.nih.gov/pmc/articles/instance/8433891/bin/sensors-21-05740-g004.gif)
![Figure 5](https://cdn.statically.io/img/www.ncbi.nlm.nih.gov/pmc/articles/instance/8433891/bin/sensors-21-05740-g005.gif)
![Figure 6](https://cdn.statically.io/img/www.ncbi.nlm.nih.gov/pmc/articles/instance/8433891/bin/sensors-21-05740-g006.gif)
![Figure 7](https://cdn.statically.io/img/www.ncbi.nlm.nih.gov/pmc/articles/instance/8433891/bin/sensors-21-05740-g007.gif)
![Figure 8](https://cdn.statically.io/img/www.ncbi.nlm.nih.gov/pmc/articles/instance/8433891/bin/sensors-21-05740-g008.gif)
![Figure 9](https://cdn.statically.io/img/www.ncbi.nlm.nih.gov/pmc/articles/instance/8433891/bin/sensors-21-05740-g009.gif)
![Figure 10](https://cdn.statically.io/img/www.ncbi.nlm.nih.gov/pmc/articles/instance/8433891/bin/sensors-21-05740-g010.gif)
Similar articles
-
Gumpy: a Python toolbox suitable for hybrid brain-computer interfaces.J Neural Eng. 2018 Dec;15(6):065003. doi: 10.1088/1741-2552/aae186. Epub 2018 Sep 14. J Neural Eng. 2018. PMID: 30215610
-
A review of classification algorithms for EEG-based brain-computer interfaces: a 10 year update.J Neural Eng. 2018 Jun;15(3):031005. doi: 10.1088/1741-2552/aab2f2. Epub 2018 Feb 28. J Neural Eng. 2018. PMID: 29488902 Review.
-
Wyrm: A Brain-Computer Interface Toolbox in Python.Neuroinformatics. 2015 Oct;13(4):471-86. doi: 10.1007/s12021-015-9271-8. Neuroinformatics. 2015. PMID: 26001643 Free PMC article.
-
EEG-Based Brain-Computer Interfaces (BCIs): A Survey of Recent Studies on Signal Sensing Technologies and Computational Intelligence Approaches and Their Applications.IEEE/ACM Trans Comput Biol Bioinform. 2021 Sep-Oct;18(5):1645-1666. doi: 10.1109/TCBB.2021.3052811. Epub 2021 Oct 7. IEEE/ACM Trans Comput Biol Bioinform. 2021. PMID: 33465029 Review.
-
Improvement of Information Transfer Rates Using a Hybrid EEG-NIRS Brain-Computer Interface with a Short Trial Length: Offline and Pseudo-Online Analyses.Sensors (Basel). 2018 Jun 5;18(6):1827. doi: 10.3390/s18061827. Sensors (Basel). 2018. PMID: 29874804 Free PMC article.
Cited by
-
Multimodal Approach for Pilot Mental State Detection Based on EEG.Sensors (Basel). 2023 Aug 23;23(17):7350. doi: 10.3390/s23177350. Sensors (Basel). 2023. PMID: 37687804 Free PMC article.
-
Cross-Platform Implementation of an SSVEP-Based BCI for the Control of a 6-DOF Robotic Arm.Sensors (Basel). 2022 Jul 2;22(13):5000. doi: 10.3390/s22135000. Sensors (Basel). 2022. PMID: 35808498 Free PMC article.
References
-
- Clerc M., Bougrain L., Lotte F. Brain-Computer Interfaces 1. Wiley-ISTE; London, UK: 2016.
-
- Millán J.R., Rupp R., Müller-Putz G., Murray-Smith R., Giugliemma C., Tangermann M., Vidaurre C., Cincotti F., Kübler A., Leeb R., et al. Combining Brain-Computer Interfaces and Assistive Technologies: State-of-the-Art and Challenges. Front. Neurosci. 2010;4:161. doi: 10.3389/fnins.2010.00161. - DOI - PMC - PubMed
MeSH terms
LinkOut - more resources
Full Text Sources