pop_subcomp#
- pop_subcomp(EEG, components=None, plotag=0, keepcomp=0, *, gui=None, renderer=None, return_com=False)#
Remove ICA components from data.
Component indices are 1-based to match EEGLAB. Passing
components=Noneorcomponents=[]removes components already flagged inEEG["reject"]["gcompreject"].keepcomp=1keeps the supplied components and removes all others.