mne_icalabel.label_components#
- mne_icalabel.label_components(inst, ica, method)#
Automatically label the ICA components with the selected method.
- Parameters:
- Returns:
- component_dict
dict
A dictionary with the following output: - ‘y_pred_proba’ : np.ndarray of shape (n_components,) Estimated corresponding predicted probability of the output class for each independent component. - ‘labels’: list of shape (n_components,) The corresponding string label of each class in ‘y_pred’.
- component_dict
Notes
For ICLabel model, the output classes are ordered: - ‘brain’ - ‘muscle artifact’ - ‘eye blink’ - ‘heart beat’ - ‘line noise’ - ‘channel noise’ - ‘other’
Examples using mne_icalabel.label_components
#

Repairing artifacts with ICA automatically using ICLabel Model
Repairing artifacts with ICA automatically using ICLabel Model