[Eeglablist] Automatic Channel Removal on Subset of Channels

Singer Lab SensoryFx Study singerlab at gatech.edu
Wed Sep 20 12:51:46 PDT 2023


Hello,

So when running pop_clean_rawdata to remove bad channels in EEG datasets, we want to only run the bad channel removal on the scalp electrodes and keep the face electrodes unchanged. When doing this initially we got errors with the face electrodes being removed anyway, which prompted us to try removing the face electrodes and storing them as a separate variable. The only issue is that now we are unsure of how to add the dataset of just the face electrodes back into the overall dataset with the scalp electrodes at the same time markers, meaning we don't want to just append the datasets but have them overlay each other. Does anyone know if there is a way to add them together or to instead only run bad channel removal on a subset of the electrodes (i.e. the scalp electrodes) while ignoring others?

These are the current lines we have for ignoring the face electrodes in our bad channel removal:

channels_ignore = {'EXG1','EXG2','EXG3','EXG4','EXG5','EXG6'}; %'EXG1','EXG2','EXG3','EXG4','EXG5','EXG6'

        FlatlineCriterion = 60;

        LineNoiseCriterion = 4;

        ChannelCriterion = 0.6;

        cleanedEEG = pop_clean_rawdata(EEG, 'FlatlineCriterion',FlatlineCriterion,...

            'ChannelCriterion',ChannelCriterion,...

            'LineNoiseCriterion',LineNoiseCriterion,...

            'Highpass','off',...

            'BurstCriterion','off',...

            'WindowCriterion','off',...

            'BurstRejection','off',...

            'Distance','Euclidian',...

            'channels_ignore',channels_ignore);

Thanks,
The Singer Lab


More information about the eeglablist mailing list