eegprep.iclabel#

eegprep.iclabel(EEG, algorithm='default', engine=None)#

Apply ICLabel to classify independent components.

Parameters#

EEGdict

EEGLAB EEG structure

algorithmstr

Algorithm to use for classification, passed to the MATLAB/Octave implementation. Default is ‘default’.

enginestr or None

Engine to use for implementation. Options are: - None: Use the default Python implementation - ‘matlab’: Use MATLAB engine - ‘octave’: Use Octave engine

Returns#

EEGdict

EEGLAB EEG structure with ICLabel classifications added