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=None or components=[] removes components already flagged in EEG["reject"]["gcompreject"]. keepcomp=1 keeps the supplied components and removes all others.

Parameters: