mne_icalabel.megnet.megnet_label_components#
- mne_icalabel.megnet.megnet_label_components(raw, ica)[source]#
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
1and100Hz and notch filtered at50or60Hz to remove line noise, and downsampled to250Hz.- ica
ICA ICA decomposition of the provided instance. The ICA decomposition should use the infomax method.
- raw
- Returns:
- labels_pred_proba
numpy.ndarrayof 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