EEG_INTERP Interpolate data channels

Usage: EEGOUT = eeg_interp(EEG, badchans, method);

Inputs:
EEG   
EEGLAB dataset
badchans   
[integer array] indices of channels to interpolate. For instance, these channels might be bad. [chanlocs structure] channel location structure containing either locations of channels to interpolate or a full channel structure (missing channels in the current dataset are interpolated).
method   
[string] griddata method used for interpolation (default is 'invdist')

Output:
EEGOUT   
data set with bad electrode data replaced by interpolated data

Author: Arnaud Delorme, CERCO, CNRS, Mai 2006

See the matlab file eeg_interp.m (may require other functions)

Back to functions