Generic Data Format structure contains 9 variables, where d is the most essential one, because it contains the data which can be further processed. The other variables are used for the correct data description – units, coordinate system, fields etc.
GDF file name following the scheme: GDF_EPISODENAME_file_description.
The structure of Generic Data Format
Variable name | Type | Description | ||||
CRS | char | Coordinate Reference System | ||||
d | struct | The variable containing the data. The data may be as a single variable, a vector or an array. Data name following the scheme: Name_of_parameter or NAME (for shortcuts, chemical formulas etc.) | ||||
Description | char | The text description of the data contained in the file | ||||
FieldDescription | cell | Description of the fields. An array contains two columns: the first contains the name of the field/column of data, the second contains a description of them. All data must be specified | ||||
FieldType | cell | An array contains two columns: the first contains the name of the field/column of data, the second contains the data type number. All data must be specified. The Numbers of Data type: 1 – the real data without limits, 2 – the integer data, 3 – text value, 4 – the real number rounded to 0.1 (shown as 11), 5 – time in Matlab format serial time – the time display format; seconds with accuracy 1/10,
6 – the real data display in an engineering manner with one decimal place, e.g.: 3.5E6, (obsolete, recommended 2cd) 7 – the real data display in an engineering manner with two decimal place, (obsolete, recommended 2cd) bc – (b and c are code digits) the real data is displayed in fix-point manner with at minimum b places before decimal and c decimal place, e.g. For number 3.149. 10: „3” 11: „3.1” 12: „3.15” 20: „03” 23: „03.149” 1bc– the same manner as bc, but with place for a sign (space for sign „+”, sign ‘-’ for sign „-”), 2cd– (c and d are code digits), the real data is displayed in an engineering manner, with place for a sign (space for sign „+”, sign ‘-’ for sign „-”), with c decimal place and exponent expressed by d places. The sign in exponent is always displayed.
| ||||
FieldUnit | cell | Description of units for individual data, e.g. m/s. An array contains two columns: the first contains the name of the field/column of data, the second contains the unit. All data must be specified. | ||||
FormatName | char | Name of data format GDF (Generic Data Format). | ||||
FormatVersion | double | When changing/expansion of the format change its version. It can have one number after the decimal point. | ||||
TimeZone | char | Acronym of Time Zone (http://en.wikipedia.org/wiki/List_of_time_zone_abbreviations) from the episode of origin. If not applicable input ‘n/a’. |