Skip to content

ICA Artefact Rejection#413

Merged
cgohil8 merged 4 commits intomainfrom
ica-artefact-rejection
Mar 27, 2026
Merged

ICA Artefact Rejection#413
cgohil8 merged 4 commits intomainfrom
ica-artefact-rejection

Conversation

@cgohil8
Copy link
Copy Markdown
Collaborator

@cgohil8 cgohil8 commented Mar 25, 2026

Closes: #409

Changes:

  • Added ica_label(): MEGNet/ICLabel automatic classification (requires mne-icalabel).
  • Added ica_ecg_eog_correlation(): ECG/EOG correlation-based detection (MNE built-in).
  • Improve the report.

Both return (raw, ica, ic_labels) with a shared interface for QC plotting. Includes composite ICA component topography plot in QC report.

Two approaches:
- ica_label(): MEGNet/ICLabel automatic classification (requires mne-icalabel)
- ica_ecg_eog_correlation(): ECG/EOG correlation-based detection (MNE built-in)

Both return (raw, ica, ic_labels) with a shared interface for QC plotting.
Includes composite ICA component topography plot in QC report.
@cgohil8 cgohil8 force-pushed the ica-artefact-rejection branch from a15ab00 to e8eac94 Compare March 25, 2026 21:21
Added to all env/*.yml files. Removed manual install instructions
from docstrings and tutorial since it's now bundled.
@cgohil8 cgohil8 force-pushed the ica-artefact-rejection branch 2 times, most recently from 4dac252 to a8ffa3f Compare March 26, 2026 20:57
…n to match osl-ephys.

- Report now uses subpanels with up/down arrow navigation
- Plots sized to 80% of viewport height
- Fixed "brain/other" label handling for MEGNet
- ica_ecg_eog_correlation now uses fastica, correlation-based EOG
  detection with threshold=0.35 (matching osl-ephys defaults)
@cgohil8 cgohil8 force-pushed the ica-artefact-rejection branch from a8ffa3f to 6d26c28 Compare March 27, 2026 08:27
@cgohil8 cgohil8 force-pushed the ica-artefact-rejection branch from bea7b47 to 1686b85 Compare March 27, 2026 08:52
@cgohil8 cgohil8 merged commit ed7f792 into main Mar 27, 2026
2 checks passed
@cgohil8 cgohil8 deleted the ica-artefact-rejection branch March 27, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automated ICA

1 participant