mne_icalabel.iclabel.run_iclabel#

mne_icalabel.iclabel.run_iclabel(images, psds, autocorr)#

Run the ICLabel network on the provided set of features.

The features are un-formatted and are as-returned by get_iclabel_features.

Parameters:
imagesnp.ndarray of shape (n_components, 1, 32, 32)

The topoplot images.

psdsnp.ndarray of shape (n_components, 1, 1, 100)

The power spectral density features.

autocorrnp.ndarray of shape (n_components, 1, 1, 100)

The autocorrelation features.

Returns:
labelsnp.ndarray of shape (n_components, n_classes)

The predicted numerical probability values for all labels in ICLabel output. Columns are ordered with ‘Brain’, ‘Muscle’, ‘Eye’, ‘Heart’, ‘Line Noise’, ‘Channel Noise’, and ‘Other’.