[Eeglablist] Order of Channel Removal+Interpolation and ICA (removing noisy components)
Tim Curran
tim.curran at colorado.edu
Thu May 28 06:24:15 PDT 2026
Hi Makoto,
I have been playing with Claude Code, and using the latest Claude.md file with EEGLAB.
Claude.md file says:
"Typical pipeline position: clean_rawdata (removes bad channels) -> re-reference -> ICA -> ICLabel -> remove components -> **interpolate** -> re-reference (again, optional) -> epoch.”
You do not agree with eeglab’s Claude.md file or maybe I am missing something?
thanks
Tim
From: eeglablist <eeglablist-bounces at sccn.ucsd.edu> on behalf of Makoto Miyakoshi via eeglablist <eeglablist at sccn.ucsd.edu>
Date: Wednesday, May 27, 2026 at 5:41 PM
To: eeglablist at sccn.ucsd.edu <eeglablist at sccn.ucsd.edu>
Subject: Re: [Eeglablist] Order of Channel Removal+Interpolation and ICA (removing noisy components)
[External email - use caution]
Hi Naviya,
- My main question is if I should perform interpolation before ICA
or after ICA?
Do it BEFORE ICA.
If you perform channel interpolation after ICA, your EEG.icasphere does not
have columns for the added channel.
Makoto
On Tue, May 26, 2026 at 2:19 PM Naviya Lall via eeglablist <
eeglablist at sccn.ucsd.edu> wrote:
> Hello all,
>
> My name is Naviya and I work with EEG data in a lab in Delhi, India. I have
> a question about EEG data channel interpolation and its order in
> preprocessing pipelines.
>
> - We record data with high density EEG (128 channels).
> - I tried to perform ICA without removing any channels and it was giving
> me noise heavy components (I use ICA to remove noisy components of eye,
> heart, muscle etc.)
> - I just want to remove 2-4 channels in some participants or certain
> sessions.
> - The GUI has very easy direct interpolation
> steps- Tools>Interpolate>select from data channels which skips the
> "Removal" step altogether.
> - In code I feel that it would be easier to "remove" the noisy
> channel(s) and use this - original_chanlocs = EEG.chanlocs; (to save
> original locations) and then EEG = pop_interp(EEG, original_chanlocs,
> 'spherical');
> to interpolate the removed data- *Is that right?*
> - My main question is if I should perform interpolation before ICA or
> after ICA?
> - I read through some older exchanges on EEGLABLIST Archive from 2015,
> 2017, 2023 and 2025 however I am still unsure of the ideal order of
> performing interpolation.
> - My logical thought is to remove + interpolate before running ICA so
> that the rank and number of components generated is not affected but
> most
> people advise to remove channel, then ICA and then interpolate.
> - Please advise on the method of channel removal+interpolation and the
> order of channel interpolation and ICA?
>
>
> Thank you so much.
>
>
> Best regards,
> Naviya
>
> --
> Naviya Lall
> Junior Research Fellow
> Cognitive Science Lab
> IIIT Delhi
> naviyalalluni.wixsite.com <
> https://urldefense.com/v3/__https://nam10.safelinks.protection.outlook.com/?url=https*3A*2F*2Furldefense.com*2Fv3*2F__https*3A*2F*2Fnaviyalalluni.wixsite.com*2Fnaviyalall__*3B!!Mih3wA!AK4IIr3bl7l5vstVMLfS9SvOU__IwE4KJfUqRptsvdt6mN4V6stqKqyZVfvP6h_-ebr4vwz6RSNGbePI1sed-hDQ*24&data=05*7C02*7Ctim.curran*40colorado.edu*7C5079845aad8347e770d908debc4968d2*7C3ded8b1b070d462982e4c0b019f46057*7C1*7C0*7C639155220649594641*7CUnknown*7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ*3D*3D*7C0*7C*7C*7C&sdata=QGd*2F*2BQg2J2n0RkrlOzb*2FhSvbVx*2Fn0bVEQOYCEDOyJBs*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSU!!Mih3wA!BbGSKfC01vsRXEpUGZrtrOYaf49eOZhB9P5P1uxQUYsGIuffmWWx1Ha-Lvn1zYeFJ8zG3leTJnstAlh79Z-2Oj91BWZ7xQ$ <https://urldefense.com/v3/__https://naviyalalluni.wixsite.com/naviyalall__;!!Mih3wA!AK4IIr3bl7l5vstVMLfS9SvOU__IwE4KJfUqRptsvdt6mN4V6stqKqyZVfvP6h_-ebr4vwz6RSNGbePI1sed-hDQ$>
> >
> _______________________________________________
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu or visit
> https://urldefense.com/v3/__https://nam10.safelinks.protection.outlook.com/?url=https*3A*2F*2Fsccn.ucsd.edu*2Fmailman*2Flistinfo*2Feeglablist&data=05*7C02*7Ctim.curran*40colorado.edu*7C5079845aad8347e770d908debc4968d2*7C3ded8b1b070d462982e4c0b019f46057*7C1*7C0*7C639155220649658506*7CUnknown*7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ*3D*3D*7C0*7C*7C*7C&sdata=c006lGx*2Fi56iu2LNb9*2FuIWUnxG7dj6so24fzPPOjWsw*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJQ!!Mih3wA!BbGSKfC01vsRXEpUGZrtrOYaf49eOZhB9P5P1uxQUYsGIuffmWWx1Ha-Lvn1zYeFJ8zG3leTJnstAlh79Z-2Oj8x0JnMWA$ <https://sccn.ucsd.edu/mailman/listinfo/eeglablist > .
>
_______________________________________________
To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu or visit https://urldefense.com/v3/__https://nam10.safelinks.protection.outlook.com/?url=https*3A*2F*2Fsccn.ucsd.edu*2Fmailman*2Flistinfo*2Feeglablist&data=05*7C02*7Ctim.curran*40colorado.edu*7C5079845aad8347e770d908debc4968d2*7C3ded8b1b070d462982e4c0b019f46057*7C1*7C0*7C639155220649710224*7CUnknown*7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ*3D*3D*7C0*7C*7C*7C&sdata=IT5TcjXlhHoNDwoMewsn*2BHl5tWNo1LhIj23ioNFTfhk*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUl!!Mih3wA!BbGSKfC01vsRXEpUGZrtrOYaf49eOZhB9P5P1uxQUYsGIuffmWWx1Ha-Lvn1zYeFJ8zG3leTJnstAlh79Z-2Oj9bNPH2Fg$ <https://sccn.ucsd.edu/mailman/listinfo/eeglablist >.
More information about the eeglablist
mailing list