mne_icalabel.label_components#
- mne_icalabel.label_components(inst, ica, method)[source]#
Automatically label the ICA components with the selected method.
- Parameters:
- Returns:
- component_dict
dict A dictionary with the following fields:
'y_pred_proba'array of shape (n_components,)Estimated 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
Please refer to the following function for additional information on each method:
'iclabel':iclabel_label_components()'megnet':megnet_label_components()
Examples using mne_icalabel.label_components#
Repairing artifacts with ICA automatically using ICLabel Model
Repairing artifacts with ICA automatically using ICLabel Model