mne.preprocessing.interpolate_bridged_electrodes#
- mne.preprocessing.interpolate_bridged_electrodes(inst, bridged_idx, bad_limit=4)[source]#
Interpolate bridged electrode pairs.
Because bridged electrodes contain brain signal, it’s just that the signal is spatially smeared between the two electrodes, we can make a virtual channel midway between the bridged pairs and use that to aid in interpolation rather than completely discarding the data from the two channels.
- Parameters:
- instinstance of
Epochs
,Evoked
, orRaw
The data object with channels that are to be interpolated.
- bridged_idx
list
oftuple
The indices of channels marked as bridged with each bridged pair stored as a tuple.
- bad_limit
int
The maximum number of electrodes that can be bridged together (included) and interpolated. Above this number, an error will be raised.
New in version 1.2.
- instinstance of
- Returns:
Examples using mne.preprocessing.interpolate_bridged_electrodes
#
Identify EEG Electrodes Bridged by too much Gel
Identify EEG Electrodes Bridged by too much Gel