A 'BrainVision' dataset is usually stored separately in header
file (.vhdr
), marker file (.vmrk
, optional) and
data file (.eeg
or .dat
). These files must store under a
same folder to be read into R.
Header data contains channel information. Data "channel" contains
channel name, reference, resolution and physical unit. "resolution"
times digital data values is the physical value of the recorded data.
read_eeg_data
makes this conversion internally .
"unit" is the physical unit of recordings. By default 'uV'
means
micro-volts.
Marker file that ends with .vmrk
is optional. If the file is
indicated by header file and exists, then a marker table will be included
when reading headers. A marker table contains six columns: marker number,
type, description, start position (in data point), size (duration in
data points), and target channel (0 means applied for all channels).
Signal file name is usually contained within header file. Therefore it is
desired that the signal file name never changed once created. However,
in some cases when the signal files are renamed and cannot be indexed
by header files, please specify path
to force load signals from
a different file.