| 1 |
### Table of event codes. |
| 2 |
# This table is also part of the specification of |
| 3 |
# GDF v2.x http://arxiv.org/abs/cs.DB/0608052 and |
| 4 |
# GDF v1.x http://pub.ist.ac.at/~schloegl/matlab/eeg/gdf4/TR_GDF.pdf |
| 5 |
# and part of the BioSig project http://biosig.sf.net/ |
| 6 |
# Copyright (C) 2004-2015 Alois Schloegl <[email protected]> |
| 7 |
# |
| 8 |
# BioSig is free software; you can redistribute it and/or |
| 9 |
# modify it under the terms of the GNU General Public |
| 10 |
# License as published by the Free Software Foundation; either |
| 11 |
# Version 3 of the License, or (at your option) any later version. |
| 12 |
# |
| 13 |
# Alternative license: |
| 14 |
# This table of event codes can be used in any application |
| 15 |
# (without the restrictions of GPL) under the condition that this table |
| 16 |
# is not modified, changed, converted or transformed. No |
| 17 |
# derivative of any kind are allowed. Suggestions for improvement |
| 18 |
# and changes should be addressed to the author. |
| 19 |
# |
| 20 |
### table of event codes: lines starting with # are omitted |
| 21 |
### add 0x8000 to indicate the end (i.e. offset) of an event |
| 22 |
# |
| 23 |
# Remark concering white space characters: |
| 24 |
# The character after the hexadecimal code (0x####) must be |
| 25 |
# followed by a <TAB> (i.e. \x09), the remaining part |
| 26 |
# may not contain any <TAB>. |
| 27 |
# |
| 28 |
### 0x010_ EEG artifacts |
| 29 |
0x0101 artifact:EOG (blinks, fast, large amplitude) |
| 30 |
0x0102 artifact:ECG |
| 31 |
0x0103 artifact:EMG/Muscle |
| 32 |
0x0104 artifact:Movement |
| 33 |
0x0105 artifact:Failing Electrode |
| 34 |
0x0106 artifact:Sweat |
| 35 |
0x0107 artifact:50/60 Hz mains interference |
| 36 |
0x0108 artifact:breathing |
| 37 |
0x0109 artifact:pulse |
| 38 |
0x010a artifact:EOG (slow, small amplitudes) |
| 39 |
#0x010f calibration |
| 40 |
### 0x011_ EEG patterns |
| 41 |
0x0111 eeg:Sleep spindles |
| 42 |
0x0112 eeg:K-complexes |
| 43 |
0x0113 eeg:Saw-tooth waves |
| 44 |
0x0114 eeg:Idling EEG - eyes open |
| 45 |
0x0115 eeg:Idling EEG - eyes closed |
| 46 |
0x0116 eeg:spike |
| 47 |
0x0117 eeg:seizure |
| 48 |
#0x0118 eeg:Electrographic seizure |
| 49 |
#0x0119 eeg:Clinical seizure |
| 50 |
#0x011a eeg:Subclinical seizure |
| 51 |
#0x011b eeg:Stimulating for seizure |
| 52 |
### 0x012_ Stimulus for Evoked potentials |
| 53 |
0x0121 VEP: visual EP |
| 54 |
0x0122 AEP: auditory EP |
| 55 |
0x0123 SEP: somato-sensory EP |
| 56 |
0x012F TMS: transcranial magnetic stimulation |
| 57 |
### 0x013_ Stimulus for Steady State Evoked potentials |
| 58 |
0x0131 SSVEP |
| 59 |
0x0132 SSAEP |
| 60 |
0x0133 SSSEP |
| 61 |
### 0x014_ Response code |
| 62 |
0x0140 response code 0, or no response or false |
| 63 |
0x0141 response code 1, or correct response |
| 64 |
0x0142 response code 2 |
| 65 |
0x0143 response code 3 |
| 66 |
0x0144 Go, or response code 4 |
| 67 |
0x0145 NoGo, or response code 5 |
| 68 |
### 0x02__ Neural activity, patch clamp |
| 69 |
### 0x020_ Neural spikes, and spike trains |
| 70 |
0x0201 Spike, action potential (fiducial point) |
| 71 |
0x0202 Burst |
| 72 |
0x0203 maximum slope time |
| 73 |
0x0204 peak time of spike |
| 74 |
### 0x021_ miniature post-synaptic events |
| 75 |
0x0211 EPSP - Excitatory Post-Synaptic Potentials |
| 76 |
0x0212 IPSP - Inhibitory Post-Synaptic Potentials |
| 77 |
0x0213 EPSC - Excitatory Post-Synaptic Currents |
| 78 |
0x0214 IPSC - Inhibitory Post-Synaptic Currents |
| 79 |
### 0x03__ BCI: Trigger, cues, classlabels |
| 80 |
0x0300 Start of Trial, Trigger at t=0s |
| 81 |
0x0301 class1, Left hand - cue onset (BCI experiment) |
| 82 |
0x0302 class2, Right hand - cue onset (BCI experiment) |
| 83 |
0x0303 class3, Foot, towards Right - cue onset (BCI experiment) |
| 84 |
0x0304 class4, Tongue - cue onset (BCI experiment) |
| 85 |
0x0305 class5 - cue onset |
| 86 |
0x0306 class6, towards Down - cue onset (BCI experiment) |
| 87 |
0x0307 class7 - cue onset |
| 88 |
0x0308 class8 - cue onset |
| 89 |
0x0309 class9, towards Left - cue onset |
| 90 |
0x030A class10 - cue onset |
| 91 |
0x030B class11 - cue onset |
| 92 |
0x030C class12, towards Up - cue onset (BCI experiment) |
| 93 |
0x030D Feedback (continuous) - onset (BCI experiment) |
| 94 |
0x030E Feedback (discrete) - onset (BCI experiment) |
| 95 |
0x030F cue unknown/undefined (used for BCI competition) |
| 96 |
0x0311 Beep (accustic stimulus, BCI experiment) |
| 97 |
0x0312 Cross on screen (BCI experiment) |
| 98 |
0x0313 Flashing light |
| 99 |
#0x031b - 0x037f reserved for ASCII characters #27-#127 |
| 100 |
0x0381 target hit, task successful, correct classification |
| 101 |
0x0382 target missed, task not reached, incorrect classification |
| 102 |
0x03ff Rejection of whole trial |
| 103 |
### 0x040_ Respiratory Events |
| 104 |
0x0401 Obstructive apnea/Hypopnea event (OAHE) |
| 105 |
0x0402 RERA #(Respiratory Effort Related Arousal) |
| 106 |
0x0403 Central Apnea/Hypopnea Event (CAHE) |
| 107 |
0x0404 CS Breathing #(Cheyne-Stokes Breathing) |
| 108 |
0x0405 Hypoventilation |
| 109 |
0x0406 Apnea |
| 110 |
0x0407 Obstructive apnea |
| 111 |
0x0408 Central apnea |
| 112 |
0x0409 Mixed apnea |
| 113 |
0x040A Hypopnea |
| 114 |
0x040B Periodic Breathing |
| 115 |
0x040C Limb movement |
| 116 |
0x040D PLMS |
| 117 |
0x040E (time of) maximum inspiration |
| 118 |
0x040F Start of inspiration, (end of expiration) |
| 119 |
### 0x041_ Sleep stages according to Rechtschaffen&Kales and AASM'07 |
| 120 |
0x0410 Sleep stage Wake |
| 121 |
0x0411 Sleep stage 1 |
| 122 |
0x0412 Sleep stage 2 |
| 123 |
0x0413 Sleep stage 3 |
| 124 |
0x0414 Sleep stage 4 |
| 125 |
0x0415 Sleep stage REM |
| 126 |
0x0416 Sleep stage ? |
| 127 |
0x0417 Movement time |
| 128 |
0x0418 Bruxism |
| 129 |
0x0419 RBD #(Rapid eye movement sleep behaviour disorder) |
| 130 |
0x041A RMD #(Sleep related rhythmic movement disorder) |
| 131 |
0x041B Sleep stage N |
| 132 |
0x041C Sleep stage N1 |
| 133 |
0x041D Sleep stage N2 |
| 134 |
0x041E Sleep stage N3 |
| 135 |
### 0x042_ Sleep |
| 136 |
0x0420 Lights on |
| 137 |
#0x8420 Lights off |
| 138 |
### 0x043_ Eye movements |
| 139 |
#0x0430 [obsolete] merged with 0x0115 |
| 140 |
0x0431 eyes left |
| 141 |
0x0432 eyes right |
| 142 |
0x0433 eyes up |
| 143 |
0x0434 eyes down |
| 144 |
0x0435 horizontal eye movement |
| 145 |
0x0436 vertical eye movement |
| 146 |
0x0437 eye rotation (clockwise) |
| 147 |
0x0438 eye rotation (counterclockwise) |
| 148 |
0x0439 eye blinks |
| 149 |
#0x043f [obsolete] merged with 0x0114 |
| 150 |
### 0x044_ muscle activity (for checking on EEG artifacts) |
| 151 |
0x0441 left hand movement |
| 152 |
0x0442 right hand movement |
| 153 |
0x0443 head movement |
| 154 |
0x0444 tongue movement |
| 155 |
0x0445 swallowing |
| 156 |
0x0446 biting, chewing, teeth griding |
| 157 |
0x0447 foot movement |
| 158 |
#0x0448 foot (right) movement |
| 159 |
0x0449 arm movement |
| 160 |
0x044a arm (right) movement |
| 161 |
### 0x050_ ECG events |
| 162 |
0x0501 ecg:Fiducial point of QRS complex |
| 163 |
0x0502 ecg:P-wave-onset, MDC_ECG_TIME_START_P |
| 164 |
#0x8502 ecg:P-wave-end, MDC_ECG_TIME_END_P |
| 165 |
0x0503 ecg:Q-wave-onset, QRS-onset, MDC_ECG_TIME_START_QRS |
| 166 |
#0x8503 ecg:Q-wave-peak, Q-wave-end |
| 167 |
0x0504 ecg:R-point |
| 168 |
0x0505 ecg:S-wave-onset, S-wave-peak |
| 169 |
#0x8505 ecg:S-wave-end, J-point, QRS-end, MDC_ECG_TIME_END_QRS |
| 170 |
0x0506 ecg:T-wave-onset, MDC_ECG_TIME_START_T |
| 171 |
#0x8506 ecg:T-wave-end, MDC_ECG_TIME_END_T |
| 172 |
0x0507 ecg:U-wave-onset |
| 173 |
#0x8507 ecg:U-wave-end |
| 174 |
# |
| 175 |
# related but non-concordant defintions can be found in |
| 176 |
# - WFDB/MIT-BIH http://www.physionet.org/physiotools/wfdb/lib/ecgcodes.h |
| 177 |
# - SCP-ECG http://www.centc251.org/TCmeet/doclist/TCdoc02/N02-015-prEN1064.pdf |
| 178 |
# - FEF/Vital/11073 p.83 |
| 179 |
# IHSNE binary annotation segment file |
| 180 |
# http://thew-project.org/THEWFileFormat.htm |
| 181 |
# http://thew-project.org/papers/ishneAnn.pdf |
| 182 |
# Unification is desired |
| 183 |
# |
| 184 |
# see also 0x2000-0x22ff: |
| 185 |
# |
| 186 |
# |
| 187 |
### 0x058_ ergometric events |
| 188 |
0x0580 start |
| 189 |
0x0581 25 Watt |
| 190 |
0x0582 50 Watt |
| 191 |
0x0583 75 Watt |
| 192 |
0x0584 100 Watt |
| 193 |
0x0585 125 Watt |
| 194 |
0x0586 150 Watt |
| 195 |
0x0587 175 Watt |
| 196 |
0x0588 200 Watt |
| 197 |
0x0589 225 Watt |
| 198 |
0x058a 250 Watt |
| 199 |
0x058b 275 Watt |
| 200 |
0x058c 300 Watt |
| 201 |
0x058d 325 Watt |
| 202 |
0x058e 350 Watt |
| 203 |
#0x8580 end |
| 204 |
### 0x100_ neural spikes |
| 205 |
# |
| 206 |
### 0x2000-22ff reserved for ECG events (see HL7 10102 Annotated ECG) |
| 207 |
# |
| 208 |
### 0x00__ user specific events |
| 209 |
# Often, 1-127 are used for stimulus codes, and 129-255 for response code. |
| 210 |
# the use of the following types is discouraged, because of possible ambiguities. |
| 211 |
#0x0000 empty event, reserved for special use |
| 212 |
0x0001 condition 1 |
| 213 |
0x0002 condition 2 |
| 214 |
0x0003 condition 3 |
| 215 |
0x0004 condition 4 |
| 216 |
0x0005 condition 5 |
| 217 |
0x0006 condition 6 |
| 218 |
0x0007 condition 7 |
| 219 |
0x0008 condition 8 |
| 220 |
0x0009 condition 9 |
| 221 |
0x000a condition 10 |
| 222 |
0x000b condition 11 |
| 223 |
0x000c condition 12 |
| 224 |
0x000d condition 13 |
| 225 |
0x000e condition 14 |
| 226 |
0x000f condition 15 |
| 227 |
0x0010 condition 16 |
| 228 |
0x0011 condition 17 |
| 229 |
0x0012 condition 18 |
| 230 |
0x0013 condition 19 |
| 231 |
0x0014 condition 20 |
| 232 |
0x0015 condition 21 |
| 233 |
0x0016 condition 22 |
| 234 |
0x0017 condition 23 |
| 235 |
0x0018 condition 24 |
| 236 |
0x0019 condition 25 |
| 237 |
0x001a condition 26 |
| 238 |
0x0020 condition 32 |
| 239 |
# |
| 240 |
0x002f condition 47 |
| 241 |
0x0030 condition 48 |
| 242 |
0x0031 condition 49 |
| 243 |
0x0032 condition 50 |
| 244 |
0x0033 condition 51 |
| 245 |
0x0034 condition 52 |
| 246 |
0x0035 condition 53 |
| 247 |
0x0036 condition 54 |
| 248 |
0x0037 condition 55 |
| 249 |
0x0038 condition 56 |
| 250 |
0x0039 condition 57 |
| 251 |
0x003a condition 58 |
| 252 |
0x003b condition 59 |
| 253 |
0x003c condition 60 |
| 254 |
0x003d condition 61 |
| 255 |
0x003e condition 62 |
| 256 |
0x003f condition 63 |
| 257 |
0x0040 condition 64 |
| 258 |
0x0041 condition 65 |
| 259 |
0x0042 condition 66 |
| 260 |
0x0046 condition 70 |
| 261 |
0x0051 condition 81 |
| 262 |
0x0052 condition 82 |
| 263 |
0x0053 condition 83 |
| 264 |
0x005b condition 91 |
| 265 |
0x005c condition 92 |
| 266 |
0x005d condition 93 |
| 267 |
0x0060 condition 96 |
| 268 |
0x0063 condition 99 |
| 269 |
0x0080 condition 128 |
| 270 |
0x0081 condition 129 |
| 271 |
0x0082 condition 130 |
| 272 |
0x0084 condition 131 |
| 273 |
0x0085 condition 132 |
| 274 |
0x0086 condition 133 |
| 275 |
0x0087 condition 134 |
| 276 |
0x00a6 condition 166 |
| 277 |
0x00a7 condition 167 |
| 278 |
0x00a8 condition 168 |
| 279 |
0x00a9 condition 169 |
| 280 |
### 0x4___ up to 4096 different stimuli |
| 281 |
### 0x7f__ special codes |
| 282 |
0x7ffe start of a new segment (after a break) |
| 283 |
0x7fff non-equidistant sampling value |
| 284 |
# |
| 285 |
|