EmotivPRO v3.0
  • EmotivPRO
  • Getting started
    • System requirements
    • Install EMOTIV Launcher
    • Installing EmotivPRO onto your PC or Mac
    • Updating EmotivPRO
    • Logging into EmotivPRO
    • Creating an EmotivID and password
    • Forgotten password
    • Viewing your account information
    • Logging out of EmotivPRO
  • EmotivPRO license options
    • Purchasing an EmotivPRO license
    • Changing the number of seats in your license
    • Organization License
    • Using EmotivPRO offline
    • Cancelling your EmotivPRO license
  • Connecting your headset to EmotivPRO and fitting your headset
    • Connecting your EEG headset to EmotivPRO via Bluetooth
      • Bluetooth connection troubleshooting
    • Pairing your EEG headset with a USB receiver dongle
    • Connecting your EEG headset to EmotivPRO
    • Disconnecting your EEG headset from EmotivPRO
    • Fitting your EEG headset
    • Contact quality map
      • Contact Quality (CQ) vs. EEG Quality (EQ)
  • Using EmotivPRO
    • EmotivPRO home screen and menu
    • EEG quality indicator
    • Battery indicator
    • EPOC+ and EPOC X configurations
  • Data Streams
    • Real time data streams, recording, and playback
    • Raw EEG
    • Frequency Bands
    • Performance Metrics
    • Motion
    • Data Packets
  • Recordings
    • About recordings
    • Starting and stopping a recording
    • Baseline recording
    • Adding a note to a recording
    • Timer
  • Event markers
    • About event markers
    • Baseline markers
    • Serial port markers
    • Keystroke markers
    • USB markers
    • EMOTIV Extender triggering
  • Managing your EEG data recordings
    • Recordings history list
    • Cloud synchronization
    • Playing an EEG data recording
    • Deleting an EEG recording
    • Exporting an EEG data recording
      • EDF files
      • EDF+ / BDF+
      • CSV files
      • JSON files
    • Editing an EEG data recording note
    • Closing a recording
    • Timestamp correction
  • Lab Streaming Layer (LSL)
    • About LSL
    • LSL Outlet
    • LSL Inlet
  • D-Lab Client
    • About D-Lab Client
    • Exporting D-Lab settings from EmotivPRO
    • Starting a Network Data Stream
    • Creating recordings on D-Lab
  • Exported data files
    • Opening a locally saved EDF file
    • Converting EDF files to CSV files
  • Notes on the data
    • DC Offset
    • Code Examples
  • EmotivPro Builder
    • Building experiments with EmotivPRO Builder
  • EmotivPRO Analyzer
    • Analyzing your EEG data with EmotivPRO Analyzer
  • Using Organization Licensing
    • Important notes on Organization Licensing
    • Licensing
    • User roles and permissions
    • Inviting users
    • Accepting an Organization invitation
    • Removing users
    • Organization Data Sharing
  • Release Notes
    • v3.0
    • v3.0.1
    • v3.2
    • v3.2.1
    • v3.3
    • v3.4.1
    • v3.5
    • v3.5.3
    • v3.7.0
Powered by GitBook
On this page
  • Columns of the EEG file
  • Columns of the motion file
  • The timestamp columns
  1. Managing your EEG data recordings
  2. Exporting an EEG data recording

EDF files

PreviousExporting an EEG data recordingNextEDF+ / BDF+

Last updated 1 year ago

EEG and motion data are stored by EmotivPRO in a standard binary format, EDF, which is compatible with many EEG analysis programs. Following the initial information line, each successive row in the data file corresponds to one data sample, or 1/32, 1/64, 1/128 or 1/256 second time slice of data (depending on your headset’s frequency rate and if the data file is EEG or motion data). Successive rows correspond to successive time slices and each column of the data file corresponds to to an individual sensor location or other information tag.

Emotiv PRO exports your record in 2 separate EDF files:

  • 1 file with the EEG data, the contact quality and the EEG quality

  • 1 file with the motion data

These EDF files follow the .

Columns of the EEG file

The EEG file includes these columns:

Column name

Value

TIME_STAMP_s

See below for details

TIME_STAMP_ms

See below for details

COUNTER

Increment by 1 for each sample, reset to zero every second.

INTERPOLATED

0 if this EEG sample was received from the headset. Greater than 0 if this sample was interpolated by Cortex.

<sensor>

Examples: AF3, T7, Pz, T8

For each EEG sensor, you get 1 value in microvolt.

BATTERY

The battery level of the headset, from 0 to 4.

BATTERY_PERCENT

The battery level of the headset, from 0 to 100. It has the same purpose as the column "Battery", but it is more precise.

MARKER_HARDWARE

1 if a hardware marker was received for this EEG sample.

0 otherwise.

CQ_<sensor>

Examples: CQ_AF3, CQ_T7, CQ_Pz, CQ_T8

The contact quality of each EEG sensor, from 0 to 4.

CQ_OVERALL

The overall contact quality is a value from 0 to 100 that is calculated from the contact quality of all the EEG sensors.

EQ_<sensor>

Examples: EQ_AF3, EQ_T7, EQ_Pz, EQ_T8

The EEG quality of each EEG sensor, from 0 to 4.

EQ_SampleRateQua

A float value from 0 to 1 that evaluates the actual sample rate of the EEG data coming from the headset.

If the wireless connection between the headset and the computer is perfect (no data loss) then the sample rate quality is 1. If X percent of the EEG samples were lost over the last 2 seconds, then the SRQ is (100 - X) / 100.

If we lost more than 300 ms of data over the last 2 seconds, then the SRQ takes the special value -1.

EQ_OVERALL

A value from 0 to 100 that is calculated from the EEG quality of all the EEG sensors.

Columns of the motion file

When you export a recording, you will also get an EDF file for the motion data (named "xxx.md.edf"), if that data was collected from your headset. This file is in the same format as the EEG file and with the same descriptive tags.

Column name

Value

TIME_STAMP_s

See below for details

TIME_STAMP_ms

See below for details

COUNTER_MEMS

Increment by 1 for each motion sample, reset to zero every second.

INTERPOLATED_MEM

0 if this motion sample was received from the headset. Greater than 0 if this sample was interpolated by Cortex.

Q0, Q1, Q2, Q3

Quaternions of the gyroscope (newer EMOTIV headsets)

GYROX, GYROY, GYROZ

X, Y, Z axis of the gyroscope (older EMOTIV headsets)

ACCX, ACCY, ACCZ

X, Y, Z axis of the accelerometer.

MAGX, MAGY, MAGZ

X, Y, Z axis of the magnetometer.

The timestamp columns

The EDF files includes 2 columns named "TIME_STAMP_s" and "TIME_STAMP_ms". You need to combine them in order to get a usable timestamp for each sample:

RELATIVE_TIME = TIME_STAMP_s + (TIME_STAMP_ms / 1000)

RELATIVE_TIME is the number of seconds elapsed since the beginning of the record. So it means that the first EEG sample of record has a relative timestamp of zero. The relative timestamp of the last EEG sample gives you the duration of the record.

Instead, you should read the field reserved of the EDF header. This field stores the start date and time of the record as a string, with a precision of 1 microsecond. The format is YYYY-MM-DDThh:mm:ss.mmmmmm+TIMEZONE Example: 2020-06-19T15:36:47.256794+07:00

Hardware markers are created with the .

To get the start date and time of the record, you can read the fields startdate and starttime from the . However, the field starttime has a precision of 1 second, which is not enough to combine it with the relative timestamps.

EDF specification
header of the EDF file
Extender