[Eeglablist] Getting bad channel from script

zahra fotovatnia fotovatnia at yahoo.com
Wed Apr 7 22:04:14 PDT 2021

 Hello Claudia,
This is how I get the channels that are deleted.
list_of_all_electrodes={EEG.chanlocs.labels}';    %list of channels before deletion

chLabels={EEG.chanlocs.labels}';    %list of channels after deletion
deleted_electrodes = setdiff(list_of_all_electrodes,chLabels);display(deleted_electrodes')
Hope it helps. Zahra

    On Thursday, April 8, 2021, 02:18:44 a.m. GMT+4:30, Krogmeier, Claudia M via eeglablist <eeglablist at sccn.ucsd.edu> wrote:  

I have a created a script to preprocess my EEG data which will automatically detect bad channels and then will use the previous dataset to interpolate the bad channels from (in code without the GUI).

Is there a simple way to output which channel was bad and therefore interpolated? I have not been able to code this so that I do not have to click back into the saved datasets and look in order to see which channel is missing from the bad channel rejected data set. I have used the dataset and session histories, but I do not see an output from the bad channel detection and interpolation commands.

Thank you,
Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu

More information about the eeglablist mailing list