Artifact Handling#
Remove or correct artifacts such as eye blinks, muscle activity, and bad segments from your Wearable Sensing EEG recordings.
Manual Artifact Rejection#
Mark bad segments manually:
Plot → Plot data
Tools → Annotations to enable annotation mode
Mark artifacts by clicking and dragging on the plot
Label annotations (e.g., “blink”, “movement”)
Annotations vs. Rejection
Annotated segments are marked but not deleted. This allows you to:
Exclude them from epochs/analysis later
Review annotations before committing
Keep a record of data quality
Independent Component Analysis (ICA)#
Use ICA for automated artifact correction:
Fitting ICA#
Tools → ICA
Click Fit ICA
Choose number of components (default: all channels)
Wait for decomposition (may take time for long recordings)
Identifying Artifact Components#
After fitting, MNELAB displays:
Time courses of each component
Topographic maps
Power spectra
Common artifacts to look for:
Eye blinks: Frontal topography, low frequency
Lateral eye movements: Temporal topography, horizontal pattern
Muscle activity: Temporal topography, high frequency
Cardiac: Regular rhythmic pattern
Removing Components#
Select artifact components (click to highlight)
Click Apply to remove selected components
A new dataset is created with artifacts removed
ICA Best Practices
Filter data (1-40 Hz) before ICA for better decomposition
Use enough data (at least 1-2 minutes) for stable components
Remove extreme artifacts manually before ICA
Verify component removal doesn’t affect signal of interest
Marking Bad Channels#
If specific channels are consistently noisy:
Plot → Plot data
Right-click on channel name
Select Mark as bad
Bad channels are excluded from average reference and analyses
Bad Channel Interpolation
After marking bad channels, use Tools → Interpolate bad channels to replace them with interpolated values from neighboring channels.
Next Steps#
After cleaning your Wearable Sensing data:
Create epochs - Extract event-related segments for analysis
Save cleaned data: File → Save as (FIF format recommended for MNE compatibility)
Export to MNE-Python for advanced statistics and visualization