EEGPLOT2EVENT Convert eegplot rejections into events compatible with EEGLAB format for continuous datasets.

Usage: >> [events] = eegplot2event( eegplotrej, type, colorin, colorout );

Inputs:
eegplotrej   
eegplot output (TMPREJ; see eegplot for more details)
type   
type of the event. Default -1.
colorin   
only extract rejection of specific colors (here a n x 3 array must be given). Default: extract all rejections.
colorout   
do not extract rejection of specified colors.

Outputs:
events   
array of events in the EEGLAB format.

Author: Arnaud Delorme, CNL / Salk Institute, 2001

See also: eegplot, eeg_multieegplot, eegplot2trial(), eeglab()

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

Back to functions