mne_icalabel.annotation.mark_component#
- mne_icalabel.annotation.mark_component(component, fname, method, label, author)#
Mark a component with a label.
- Parameters:
- component
int The component to mark.
- fname
Union[str,Path] The filename for the BIDS filepath.
- method
str The method to use. Must be ‘manual’, or one of [‘iclabel’].
- label
str The label of the ICA component. Must be one of [‘brain’, ‘muscle artifact’, ‘eye blink’, ‘heart beat’, ‘line noise’, ‘channel noise’, ‘other’].
- author
str The annotating author.
- component
Notes
Storage of ICA annotations as a
.tsvfile is currently experimental in the context of BIDS-EEG Derivatives. The API and functionality is subject to change as the community converges on the specification of BIDS-Derivatives.