API Reference#
Datasets#
A dataset handle and abstract low level access to the data. the dataset will takes data stored locally, in the format in which they have been downloaded, and will convert them into a MNE raw object. There are options to pool all the different recording sessions per subject or to evaluate them separately.
See NeuroTechX/moabb for detail on datasets (electrodes, number of trials, sessions, etc.)
Motor Imagery Datasets#
|
Alex Motor Imagery dataset. |
BNCI 2014-001 Motor Imagery dataset. |
|
BNCI 2014-002 Motor Imagery dataset. |
|
BNCI 2014-004 Motor Imagery dataset. |
|
BNCI 2015-001 Motor Imagery dataset. |
|
BNCI 2015-004 Motor Imagery dataset. |
|
|
Motor Imagery dataset from Cho et al 2017. |
|
BMI/OpenBMI dataset for MI. |
Munich Motor Imagery dataset. |
|
|
Motor Imagery ataset from Ofner et al 2017. |
|
Physionet Motor Imagery dataset. |
High-gamma dataset described in Schirrmeister et al. 2017. |
|
|
Motor Imagey Dataset from Shin et al 2017. |
|
Mental Arithmetic Dataset from Shin et al 2017. |
Motor Imagery dataset from Weibo et al 2014. |
|
|
Motor Imagery dataset from Zhou et al 2016. |
|
Motor Imagery dataset from Stieger et al. 2021. |
|
ERP Datasets#
|
P300 dataset BI2012 from a "Brain Invaders" experiment. |
|
P300 dataset BI2013a from a "Brain Invaders" experiment. |
|
P300 dataset BI2014a from a "Brain Invaders" experiment. |
|
P300 dataset BI2014b from a "Brain Invaders" experiment. |
|
P300 dataset BI2015a from a "Brain Invaders" experiment. |
|
P300 dataset BI2015b from a "Brain Invaders" experiment. |
|
Dataset of an EEG-based BCI experiment in Virtual Reality using P300. |
BNCI 2014-008 P300 dataset. |
|
BNCI 2014-009 P300 dataset. |
|
BNCI 2015-003 P300 dataset. |
|
Visual P300 dataset recorded in Virtual Reality (VR) game Raccoons versus Demons. |
|
|
P300 dataset from Hoffmann et al 2008. |
|
Learning from label proportions for a visual matrix speller (ERP) dataset from Hübner et al 2017 [R0a211c89d39d-1]. |
|
Mixture of LLP and EM for a visual matrix speller (ERP) dataset from Hübner et al 2018 [R8f30fc0d0ace-1]. |
|
BMI/OpenBMI dataset for P300. |
|
P300 dataset from initial spot study. |
SSVEP Datasets#
SSVEP Exo dataset. |
|
SSVEP Nakanishi 2015 dataset. |
|
|
SSVEP Wang 2016 dataset. |
|
SSVEP MAMEM 1 dataset. |
|
SSVEP MAMEM 2 dataset. |
|
SSVEP MAMEM 3 dataset. |
|
BMI/OpenBMI dataset for SSVEP. |
c-VEP Datasets#
c-VEP dataset from Thielen et al. (2015). |
|
c-VEP dataset from Thielen et al. (2021). |
|
c-VEP and Burst-VEP dataset from Castillos et al. (2023). |
|
c-VEP and Burst-VEP dataset from Castillos et al. (2023). |
|
c-VEP and Burst-VEP dataset from Castillos et al. (2023). |
|
c-VEP and Burst-VEP dataset from Castillos et al. (2023). |
Resting State Datasets#
Passive Head Mounted Display with Music Listening dataset. |
|
Neuroergonomic 2021 dataset. |
|
Alphawaves dataset |
Base & Utils#
|
Abstract Moabb BaseDataset. |
|
Configuration for caching of datasets. |
|
Fake Dataset for test purpose. |
|
Fake Cattan2019_VR dataset for test purpose. |
|
Get path to local copy of given dataset URL. |
|
Download file from url to specified path. |
|
Wrapper for HTTP request. |
|
List all the files associated with a given article. |
|
Returns a dict associating figshare file id to MD5 hash. |
|
Returns a dict associating filename to figshare file id. |
|
Returns a dict associating figshare file id to filename. |
|
Returns a list of datasets that match a given criteria. |
|
Given a list of dataset instances return a list of channels shared by all datasets. |
Compound Datasets#
ERP Datasets#
A selection of subject from BI2014a with AUC < 0.7 with pipeline: ERPCovariances(estimator="lwf"), MDM(metric="riemann") |
|
A selection of subject from BI2014b with AUC < 0.7 with pipeline: ERPCovariances(estimator="lwf"), MDM(metric="riemann") |
|
A selection of subject from BI2015a with AUC < 0.7 with pipeline: ERPCovariances(estimator="lwf"), MDM(metric="riemann") |
|
A selection of subject from BI2015b with AUC < 0.7 with pipeline: ERPCovariances(estimator="lwf"), MDM(metric="riemann") |
|
A selection of subject from Cattan2019_VR with AUC < 0.7 with pipeline: ERPCovariances(estimator="lwf"), MDM(metric="riemann") |
|
|
Subjects from braininvaders datasets with AUC < 0.7 with pipeline: ERPCovariances(estimator="lwf"), MDM(metric="riemann") |
Evaluations#
An evaluation defines how we go from trials per subject and session to a generalization statistic (AUC score, f-score, accuracy, etc) – it can be either within-recording-session accuracy, across-session within-subject accuracy, across-subject accuracy, or other transfer learning settings.
Evaluations#
|
Performance evaluation within session (k-fold cross-validation) |
|
Cross-session performance evaluation. |
|
Cross-subject evaluation performance. |
Base & Utils#
|
Base class that defines necessary operations for an evaluation. |
Paradigms#
A paradigm defines how the raw data will be converted to trials ready to be processed by a decoding algorithm.
This is a function of the paradigm used, i.e. in motor imagery one can have two-class, multi-class, or continuous paradigms; similarly, different preprocessing is necessary for ERP vs ERD paradigms.
Motor Imagery Paradigms#
|
N-class motor imagery. |
|
Motor Imagery for left hand/right hand classification. |
|
Filter Bank Motor Imagery for left hand/right hand classification. |
|
Filter bank n-class motor imagery. |
P300 Paradigms#
|
Single Bandpass filter P300. |
|
P300 for Target/NonTarget classification. |
SSVEP Paradigms#
|
Single bandpass filter SSVEP. |
|
Filtered bank n-class SSVEP paradigm. |
c-VEP Paradigms#
|
Single bandpass c-VEP paradigm for epoch-level decoding. |
|
Filterbank c-VEP paradigm for epoch-level decoding. |
Resting state Paradigms#
|
Adapter to the P300 paradigm for resting state experiments. |
Fixed Interval Windows Processings#
|
Fixed interval windows processing. |
Filter bank fixed interval windows processing. |
Base & Utils#
|
Base Motor imagery paradigm. |
|
Single Bandpass filter motor Imagery. |
|
Filter Bank MI. |
|
Base P300 paradigm. |
|
Base SSVEP Paradigm. |
Base class for fixed interval windows processing. |
|
|
Base class for paradigms. |
|
Base Processing. |
Pipelines#
Pipeline defines all steps required by an algorithm to obtain predictions.
Pipelines are typically a chain of sklearn compatible transformers and end with a sklearn compatible estimator.
Pipelines#
LogVariance transformer. |
|
|
Transformer to scale sampling frequency. |
Prepare FilterBank SSVEP EEG signal for estimating extended covariances. |
|
|
Dataset augmentation methods in a higher dimensional space. |
Function to standardize the X raw data for the DeepLearning Method. |
|
|
Weighted Tikhonov-regularized CSP as described in Lotte and Guan 2011. |
|
Classifier based on Canonical Correlation Analysis for SSVEP. |
|
Classifier based on the Task-Related Component Analysis method [1]_ for SSVEP. |
|
Classifier based on MsetCCA for SSVEP. |
|
Keras implementation of the Deep Convolutional Network as described in [R679315cfbef6-1]. |
|
Keras implementation of the EEGITNet as described in [Rf5b2ee1af1ae-1]. |
|
Keras implementation of the EEGNet as described in [Rd83becb56589-1]. |
|
Keras implementation of the EEGNex as described in [R643fa75c3283-1]. |
|
Keras implementation of the EEGTCNet as described in [R89b58824c471-1]. |
|
Keras implementation of the Shallow Convolutional Network as described in [R2ccacb732305-1]. |
Base & Utils#
Create a pipeline from a config file. |
|
|
Apply a given identical pipeline over a bank of filter. |
|
EEGNet block implementation as described in [R820c2366bc63-1]. |
|
|
|
Temporal Convolutional Network (TCN), TCN_block from [R2eea69aed7b6-1]. |
Class to Load the data from MOABB in a format compatible with braindecode. |
|
Sets the input dimension of the PyTorch module to the input dimension of the training data. |
Analysis#
Plotting#
|
Plot scores for all pipelines and all datasets |
|
Generate a figure with a paired plot. |
|
Significance matrix to compare pipelines. |
|
Meta-analysis to compare two algorithms across several datasets. |
Statistics#
Compute differences between pipelines across datasets. |
|
Compute meta-analysis statistics from results dataframe. |
|
|
Combine effects for meta-analysis statistics. |
|
Combine p-values for meta-analysis statistics. |
Prepare results dataframe for computing statistics. |
Utils#
Benchmark#
|
Run benchmarks for selected pipelines and datasets. |
Utils#
|
Set log level. |
|
Set the seed for random, numpy, TensorFlow and PyTorch. |
|
Set the download directory if required to change from default MNE path. |
|
Shortcut for the method |