Differences between revisions 2 and 3
Revision 2 as of 2010-11-15 15:46:06
Size: 3709
Comment:
Revision 3 as of 2010-11-15 15:46:23
Size: 3709
Comment:
Deletions are marked like this. Additions are marked like this.
Line 46: Line 46:
||.className || Cell array of strings de
ning names of the classes.||
||.className || Cell array of strings defining names of the classes.||

EEG Data

Data Types for EEG in Matlab

The structure holding continuous (i.e., not epoched) EEG signals is denoted by cnt. The following list shows its typical fields.

cnt

Structure of continuous signals

.x

The EEG signals as 2-D array of size [T nChannels] with time along the first and channels along the second dimension.

.fs

The sampling rate, unit [samples per second].

.clab

Channel labels, stored as strings in a cell array.

.title

Title of the data set (string), used by some visualization functions. (This field should not be obligatory, but some functions may try access this field, without prior checking its existance. If so the function should be corrected.)

The structure holding epoched EEG signals (i.e., a series of short-time windows of equal length) is denoted by epo. (This structure is not resticted to time domain signals, although it is suggested by some notions, e.g. the fi eld .t).

epo

Structure of epoched signals.

.x

The EEG epochs as 3-D array of size [T nChannels nEpochs] with time along the rst, channels along the second, and epochs along the third dimension. (Thus, an epoch structure holding only one epoch is a special case of continuous signal structure.)

.t

Time line, vector of length T, i.e., the size of the rst dimension of epo.x. In the frequency domain, this eld holds the frequencies.

.y

Class labels of the epochs as 2-D array of size [nClasses nEpochs]. The i-th row indicates class membership with class i (0 means no member-ship, 1 means membership), see Sec. A.1.

.className

Cell array of strings defining names of the classes.

.fs

The sampling rate, unit [samples per second].

.clab

Channel labels, stored as strings in a cell array.

.title

Title of the data set (string), used by some visualization functions. (This field should not be obligatory, but some functions may try access this field, without prior checking its existance. If so the function should be corrected.)

.file

The file name (string) of the data set (with absolute path). When the data set is a concatenation of several files, this field is a cell array of strings. (This eld is only use by some special functions.)

The epo structure can have more optional fi elds. They should be copied by processing functions, see Sec. 4. When you include fi elds that specify data ranging over all epochs, be sure that epochs are indexed by the last dimension and defi ne a (or extend the) fi eld .indexedByEpochs as cell array holding the names of all such fields. (Fields .x and .y are automatically treated as indexedByEpochs.) Only then processing functions like proc_selectEpochs or proc_selectClasses can work correctly.

The structure holding marker (or event) information is denoted by mrk. Using this structure you can segment continuous EEG signals into epochs by the function makeEpochs.

mrk

Structure of marker (or event) information:

.pos

Positions of markers in the continuous signals as array of size [1 nEvents]. The unit is sample, i.e., it is relative to the sampling rate mrk.fs.

.y

Class labels of the evnts as 2-D array of size [nClasses nEvents]. The i-th row indicates class membership with class i (0 means no membership, 1 means membership), see Sec. A.1.

.className

Cell array of strings defining names of the classes.

.fs

The sampling rate, unit [samples per second].

This structure can optionally have more fields, with are transfer to the epo structure, when creating epochs. See also the note in the description of the epo structure.

IDA Wiki: IDA/BerlinBCI/ToolBox/ToolboxData (last edited 2016-09-18 14:40:38 by HendrikLuedemann)