mne_icalabel.megnet.megnet_label_components#
- mne_icalabel.megnet.megnet_label_components(raw, ica)#
Label the provided ICA components with the MEGnet neural network.
For more information, see Treacher et al.[1].
- Parameters:
- raw
Raw
Raw MEG recording used to fit the ICA decomposition. The raw instance should be bandpass filtered between
1
and100
Hz and notch filtered at50
or60
Hz to remove line noise, and downsampled to250
Hz.- ica
ICA
ICA decomposition of the provided instance. The ICA decomposition should use the infomax method.
- raw
- Returns:
- labels_pred_proba
numpy.ndarray
of shape (n_components, n_classes) The estimated corresponding predicted probabilities of output classes for each independent component. Columns are ordered with
'brain/other'
,'eye movement'
,'heart beat'
,'eye blink'
.
- labels_pred_proba
References