Data format for playback

I have collected some PPG data and accelerometer data and I have it in csv format, I want to visualise it using OpenBCI GUI using the "playback from file" as the data source, but I don't find the format in which I need to keep my PPG and accelerometer data for uploading it to GUI.

I found few sample datasets along with the open BCI like 'meditation.txt' and want to know what does each column represent

%OpenBCI Raw EEG Data
%Number of channels = 8
%Sample Rate = 250 Hz
%Board = OpenBCI_GUI$BoardCytonSerial
0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
0, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.014, 0.826, 0.532,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0, 1557936889064, 12:14:49.064
1, 45997.52, 37487.45, -22369.71, -26183.10, -12716.55, -24777.78, -10055.49, -3746.69, 0.014, 0.826, 0.532,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0, 1557936889071, 12:14:49.071
2, 46077.20, 37578.29, -22259.92, -26035.54, -12632.74, -24711.80, -9977.57, -3650.20, 0.014, 0.826, 0.532,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0, 1557936889071, 12:14:49.071
3, 46157.

Comments

  • wjcroftwjcroft Mount Shasta, CA

    Arpit, hi.

    The first column is a sample index from 0 to 255, then repeats. Next 8 columns are the channel samples, in microvolts. Next 3 values are the accelerometer or Aux registers. Then at the very end some time stamps.

    When reading from Cyton, you need to filter out the DC offset, which can be in the millivolts range. That's why you see the large channel values above.

    https://openbci.com/forum/index.php?p=/discussion/201/large-millivolt-data-values-fbeeg-full-band-eeg

    William

  • wjcroftwjcroft Mount Shasta, CA

    Another program you can use for viewing CSV, EDF, BDF, etc. format recordings, is EDFBrowser.

    https://www.teuniz.net/edfbrowser/

  • ArpitBArpitB India

    Thanks for the response William, regarding the 8 columns for EEG channels in data format, is it also possible to use 16 channels EEG in the data format?

  • wjcroftwjcroft Mount Shasta, CA

    With Cyton+Daisy, it's a similar ordering: sample index, channels 1-16, xyz accel.

  • retiututretiutut Louisiana, USA
    edited June 30

    These sample data files were updated using a python script, and do not contain the latest header generated by the GUI using BrainFlow.

    Here is what to expect from GUI v5.05 and Cyton 8ch:

    %OpenBCI Raw EEG Data
    %Number of channels = 8
    %Sample Rate = 250 Hz
    %Board = OpenBCI_GUI$BoardCytonSerial
    Sample Index, EXG Channel 0, EXG Channel 1, EXG Channel 2, EXG Channel 3, EXG Channel 4, EXG Channel 5, EXG Channel 6, EXG Channel 7, Accel Channel 0, Accel Channel 1, Accel Channel 2, Other, Other, Other, Other, Other, Other, Other, Analog Channel 0, Analog Channel 1, Analog Channel 2, Timestamp, Other, Timestamp (Formatted)
    0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 192.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.625077630168395E9, 0.0, 2021-06-30 13:27:10.168
    1.0, -5816.885032282476, -5622.402503776849, -5777.054223663119, -5705.193365239306, -109557.4554273433, -124029.49470633206, -138962.58341820043, -159042.85419498137, 0.152, 0.962, 0.212, 192.0, 4.0, 192.0, 30.0, 16.0, 6.0, 160.0, 0.0, 0.0, 0.0, 1.625077630184416E9, 0.0, 2021-06-30 13:27:10.184
    2.0, -5914.115120663062, -5850.390297220981, -5694.755100578678, -5817.734398571778, -109639.64279170547, -123836.62150342722, -138998.6591337513, -158975.08370579287, 0.152, 0.962, 0.212, 192.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.625077630191868E9, 0.0, 2021-06-30 13:27:10.191
    
Sign In or Register to comment.