moabb.datasets.AlexMI#
- class moabb.datasets.AlexMI[source]#
Alex Motor Imagery dataset.
PapersWithCode leaderboard: https://paperswithcode.com/dataset/alexandremotorimagery-moabb
Dataset summary
#Subj
#Chan
#Classes
#Trials
Trial length
Freq
#Session
#Runs
Total_trials
8
16
3
20
3s
512Hz
1
1
480
Motor imagery dataset from the PhD dissertation of A. Barachant [1].
This Dataset contains EEG recordings from 8 subjects, performing 2 task of motor imagination (right hand, feet or rest). Data have been recorded at 512Hz with 16 wet electrodes (Fpz, F7, F3, Fz, F4, F8, T7, C3, Cz, C4, T8, P7, P3, Pz, P4, P8) with a g.tec g.USBamp EEG amplifier.
File are provided in MNE raw file format. A stimulation channel encoding the timing of the motor imagination. The start of a trial is encoded as 1, then the actual start of the motor imagination is encoded with 2 for imagination of a right hand movement, 3 for imagination of both feet movement and 4 with a rest trial.
The duration of each trial is 3 second. There is 20 trial of each class.
References
- 1
Barachant, A., 2012. Commande robuste d’un effecteur par une interface cerveau machine EEG asynchrone (Doctoral dissertation, Université de Grenoble). https://tel.archives-ouvertes.fr/tel-01196752
- data_path(subject, path=None, force_update=False, update_path=None, verbose=None)[source]#
Get path to local copy of a subject data.
- Parameters
subject (int) – Number of subject to use
path (None | str) – Location of where to look for the data storing location. If None, the environment variable or config parameter
MNE_DATASETS_(dataset)_PATH
is used. If it doesn’t exist, the “~/mne_data” directory is used. If the dataset is not found under the given path, the data will be automatically downloaded to the specified folder.force_update (bool) – Force update of the dataset even if a local copy exists.
update_path (bool | None Deprecated) – If True, set the MNE_DATASETS_(dataset)_PATH in mne-python config to the given path. If None, the user is prompted.
verbose (bool, str, int, or None) – If not None, override default verbose level (see
mne.verbose()
).
- Returns
path – Local path to the given data file. This path is contained inside a list of length one, for compatibility.
- Return type
Examples using moabb.datasets.AlexMI
#
Convert a MOABB dataset to BIDS