mne_fit_ica
Remove artifacts from EEG/MEG data by fitting ICA on Raw or Epochs. Choose method (FastICA, Infomax, Picard) and component count or variance fraction, then save under a custom ICA name.
Instructions
Fit Independent Component Analysis on a (preferably 1 Hz high-pass filtered) Raw/Epochs object for artifact removal. n_components can be an int, a float (variance fraction), or null. method: 'fastica' (default), 'infomax', 'picard'. Stored under ica_name (default 'ica'). Requires scikit-learn.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | raw | |
| method | No | ||
| ica_name | No | ica | |
| n_components | No | ||
| random_state | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |