This file describes the EEP 3.x ERP file format (*.avr). MPI/ANT (eeprobe@ant-software.nl) Max-Planck-Institute of Cognitive Neuroscience, Leipzig $Id$ 1. Global Header (first 38 bytes) offset type value ----------------------------------------------------------------------- 0 s16 global header size (always 38) 2 s16 channel header size (always 16) 4 s16 nchannels 6 s16 nsamples 8 s16 ntrials (total number of trials) 10 s16 nrejected (number of rejected trials) 12 f32 time in ms for first data point 16 f32 sample interval 20 char[10] condition label 30 char[8] color code (see below) 2. Channel Header (16 bytes per channel) offset type value ----------------------------------------------------------------------- 0 char[10] channel label 10 u32 file offset for data of this channel 14 char[2] unused 3. Data Vectors nsamples f32's for the means, nsamples f32's for the variances this is repeated nchannels times set all variance values to 0.0 to indicate "no variance available" 4. avr-file color codes The 8 character color entry holds the string "color:" followed by a number. The following numbers are allowed (listed with the assigned EEP color name and the assigned X11 color specification): 1, "BLUE", "rgb:0000/0000/ffff", 2, "GREEN", "rgb:0000/ffff/0000", 3, "CYAN", "rgb:0000/ffff/ffff", 4, "RED", "rgb:ffff/0000/0000", 5, "MAGENTA", "rgb:ffff/0000/ffff", 6, "YELLOW", "rgb:da00/a500/2000", 7, "WHITE", "rgb:7fff/7fff/7fff", 8, "BLACK", "rgb:0000/0000/0000", 16, "BLUE", "rgb:0000/0000/ffff", 17, "STEEL", "rgb:0000/0000/8b00", 18, "SKY", "rgb:6c00/a600/cd00", 19, "CYAN", "rgb:0000/ffff/ffff", 20, "MINT", "rgb:0000/ff00/7f00", 21, "SEA", "rgb:8f00/bc00/8f00", 22, "LEAVES", "rgb:8b00/8600/4e00", 23, "GREEN", "rgb:0000/ffff/0000", 24, "OLIVE", "rgb:bc00/ee00/6800", 25, "SIENNA", "rgb:a000/5200/2d00", 26, "LIGHTGREEN","rgb:4300/cd00/8000", 27, "YELLOW", "rgb:da00/a500/2000", 28, "OCHRE", "rgb:ff00/8200/4700", 29, "APRICOT", "rgb:cd00/ad00/0000", 30, "ORANGE", "rgb:ff00/8c00/0000", 31, "RED", "rgb:ffff/0000/0000", 32, "CRIMSON", "rgb:cd00/6600/1d00", 33, "ROSE", "rgb:9900/3200/cc00", 34, "PINK", "rgb:ff00/1400/9300", 35, "MAGENTA", "rgb:ffff/0000/ffff", 36, "PURPLE", "rgb:a000/2000/f000", 37, "LILAC", "rgb:8a00/2b00/e200", 38, "AUBERGINE", "rgb:6600/cd00/aa00", 39, "PLUM", "rgb:2700/4000/8b00", 40, "UV", "rgb:0000/6800/8b00",