API#
This is the application programming interface (API) reference
for classes (CamelCase
names) and functions
(underscore_case
names) of MNE-ICALabel.
Most-used function#
The most commonly used function is mne_icalabel.label_components()
which takes an
mne instance (mne.io.Raw
, mne.Epochs
) and its ICA decomposition to
label the components using the specified method/model.
|
Automatically label the ICA components with the selected method. |
Models#
Features#
On top of the available models, mne-icalabel
provides a set of functions to extract
features from ICA
instance and Raw
/ Epochs
instances using MNE-Python. Those features can then be used to train new models.
|
Generate an array of scalp topographies for the picked components. |
Annotating Components#
Finally, to facilitate annotation of the ICA components, we provide an API that conforms to the derivative standard of BIDS for EEG data to write the annotations to a TSV file.
|
Mark a component with a label. |
|
Write channels tsv file for ICA components. |
In addition, as of version 0.3, we have introduced a beta-version of a GUI that
assists in annotated ICA components. This was heavily inspired by the annotation
process in ICLabel
.
|
Launch the IC labelling GUI. |