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, or Raw

The data object with channels that are to be interpolated.

bridged_idxlist of tuple

The indices of channels marked as bridged with each bridged pair stored as a tuple.

bad_limitint

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.

Returns:
instinstance of Epochs, Evoked, or Raw

The modified data object.

Examples using mne.preprocessing.interpolate_bridged_electrodes#

Identify EEG Electrodes Bridged by too much Gel

Identify EEG Electrodes Bridged by too much Gel

Identify EEG Electrodes Bridged by too much Gel