What is considered best practice?
Option 1:
- Mark bad channels in
raw.info['bads']
- Interpolate bad channels with
raw.interpolate_bads(reset_bads=True, mode='accurate')
- Compute CAR reference as projector with
raw.set_eeg_reference(ref_channels="average", ch_type="eeg", projection=True)
Option 2:
- Mark bad channels in
raw.info['bads']
- Compute CAR reference as projector with
raw.set_eeg_reference(ref_channels="average", ch_type="eeg", projection=True)
, excluding the marked bads. - Interpolate bad channels with
raw.interpolate_bads(reset_bads=True, mode='accurate')
after applying the CAR projection.