Hi,
With my eeg dataset, I marked a few channels as “bad channels” after loading it and then performed average referencing. I just wanted to check if average referencing accounts for the bad channels and excludes them when referencing.
raw=mne.io.read_raw_eeglab(filename)
--- output----Channels marked as bad: ['F4', 'CP4', 'FC2']
raw = raw.set_eeg_reference("average")```