EEG_CHECKSET Check consistency of dataset fields.

Structure of an EEG dataset under EEGLAB:
EEG.data   
data array (chans x frames x epochs)
EEG.setname   
name of the dataset
EEG.filename   
filename of the dataset
EEG.filepath   
filepath of the dataset
EEG.namechan   
channel labels (will be deprecated)
EEG.chanlocs   
name of file containing names and positions of the channels on the scalp
EEG.pnts   
number of frames (time points) per epoch (trial)
EEG.nbchan   
number of channels in each epoch
EEG.trials   
number of epochs (trials) in the dataset
EEG.srate   
sampling rate (in Hz)
EEG.xmin   
epoch start time (in seconds)
EEG.xmax   
epoch end time (in seconds)

ICA variables:
EEG.icaact   
ica activations (components x frames x epochs)
EEG.icasphere   
sphere array returned by ica
EEG.icaweights   
weight array returned by ica
EEG.icawinv   
inverse ica weight matrix giving the projected activity of the components at the electrodes.

Event and epoch structures:
EEG.event   
event structure (any number of events per epoch)
EEG.epoch   
epoch structure (one structure per epoch) --> See the web page dealing with this issue

Variables used for manual and semi-automatic data rejection:
EEG.stats.kurtc   
component kurtosis values
EEG.stats.kurtg   
global kurtosis of components
EEG.stats.kurta   
kurtosis of accepted epochs
EEG.stats.kurtr   
kurtosis of rejected epochs
EEG.stats.kurtd   
kurtosis of spatial distribution
EEG.reject.entropy   
entropy of epochs
EEG.reject.entropyc   
entropy of components
EEG.reject.threshold   
rejection thresholds
EEG.reject.icareject   
epochs rejected by ica criteria
EEG.reject.gcompreject   
rejected ica components
EEG.reject.sigreject   
epochs rejected by single-channel criteria
EEG.reject.elecreject   
epochs rejected by raw data criteria
EEG.reject.compreject   
deprecated
EEG.reject.comptrial   
deprecated
EEG.reject.eegentropy   
deprecated
EEG.reject.eegkurt   
deprecated
EEG.reject.eegkurtg   
deprecated

Usage: >> [EEGOUT, res] = eeg_checkset( EEG );

Inputs:
EEG   
dataset structure

Outputs:
EEGOUT   
output dataset

Author: Arnaud Delorme, CNL / Salk Institute, 2001

See also: eeglab

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

Back to functions