Why are there duplicate sample indexes in txt?

DashBarkHussDashBarkHuss Chicago
edited August 28 in General Discussion

My .txt data file from an OpenBCI recording has duplicate sample indexes.

There are two 2.0 sample indexes. Two 3.0's etc.
Each pair has the same time stamp but different channel data.

I'd expect each sample to have a unique index. What's going on?

Sample from .txt file:
%OpenBCI Raw EXG Data %Number of channels = 4 %Sample Rate = 200 Hz %Board = OpenBCI_GUI$BoardGanglionBLE Sample Index, EXG Channel 0, EXG Channel 1, EXG Channel 2, EXG Channel 3, Accel Channel 0, Accel Channel 1, Accel Channel 2, Other, Other, Other, Other, Other, Timestamp, Other, Timestamp (Formatted) 2.0, 0.0, -10.411881476640701, -83.82611760683358, -76.86990368925035, 0.12800000607967377, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158299904E9, 0.0, 2024-08-27 22:35:58.299 2.0, 0.0, 20.08700266201049, 39.82993452809751, 39.0557752372697, 0.12800000607967377, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158299904E9, 0.0, 2024-08-27 22:35:58.299 3.0, 0.0, 1.4660407826304436, -57.12697182316333, -39.49708343204111, 0.12800000607967377, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158326373E9, 0.0, 2024-08-27 22:35:58.326 3.0, 0.0, 20.0832627620548, -41.09028081316501, -27.80615617055446, 0.12800000607967377, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158326373E9, 0.0, 2024-08-27 22:35:58.326 4.0, 0.0, 22.49923813343048, 36.32938816957176, 37.95998455025256, 0.12800000607967377, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158330895E9, 0.0, 2024-08-27 22:35:58.330 4.0, 0.0, 8.549411298707128, -23.621208120137453, -15.935713711194694, 0.12800000607967377, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158330895E9, 0.0, 2024-08-27 22:35:58.330 5.0, 0.0, 9.906994982622564, -70.9234627597034, -57.358845620416105, 0.12800000607967377, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158336272E9, 0.0, 2024-08-27 22:35:58.336 5.0, 0.0, 20.404894158244133, -2.898422465659678, 23.232258524745703, 0.12800000607967377, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158336272E9, 0.0, 2024-08-27 22:35:58.336 6.0, 0.0, 31.871427422389388, 21.590442444197834, 48.091373530216515, 0.12800000607967377, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158342368E9, 0.0, 2024-08-27 22:35:58.342 6.0, 0.0, 28.370881063863635, -50.466210002079606, -44.037321978248656, 0.12800000607967377, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158342368E9, 0.0, 2024-08-27 22:35:58.342 7.0, 0.0, 32.29777601733804, -26.639307384379208, -4.110150051303208, 0.12800000607967377, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158348886E9, 0.0, 2024-08-27 22:35:58.348 7.0, 0.0, 50.97483639605343, 68.9226162834093, 69.85385137237608, 0.12800000607967377, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158348886E9, 0.0, 2024-08-27 22:35:58.348 8.0, 0.0, 33.161692907102406, -22.56281643267721, -21.956952639855444, 0.12800000607967377, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.72481615835535E9, 0.0, 2024-08-27 22:35:58.355 8.0, 0.0, 33.651619801297784, -22.413220434449613, -18.632181579247117, 0.12800000607967377, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.72481615835535E9, 0.0, 2024-08-27 22:35:58.355 9.0, 0.0, 47.01802224293351, 57.1755905225873, 73.6648094272241, 0.12800000607967377, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158367885E9, 0.0, 2024-08-27 22:35:58.367 9.0, 0.0, 27.40598687529564, 4.514059246517718, 16.95296649914235, 0.12800000607967377, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158367885E9, 0.0, 2024-08-27 22:35:58.367 10.0, 0.0, 24.653420507907867, -43.315521286800504, -29.855621346272528, 0.12800000607967377, 0.0, 0.7840000372380018, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158373942E9, 0.0, 2024-08-27 22:35:58.373 10.0, 0.0, 40.15530582424253, 31.78914962336421, 52.31746048014611, 0.12800000607967377, 0.0, 0.7840000372380018, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158373942E9, 0.0, 2024-08-27 22:35:58.373 11.0, 0.0, 45.15929196495563, 54.078953359276056, 68.27187369111925, 0.12800000607967377, 0.6720000319182873, 0.7840000372380018, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158383254E9, 0.0, 2024-08-27 22:35:58.383 11.0, 0.0, 30.270750241354108, -37.208264659158885, -35.562708678655326, 0.12800000607967377, 0.6720000319182873, 0.7840000372380018, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158383254E9, 0.0, 2024-08-27 22:35:58.383 12.0, 0.0, 47.11151974182576, 8.108103103935719, 25.913766792975366, 0.11200000531971455, 0.6720000319182873, 0.7840000372380018, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158398514E9, 0.0, 2024-08-27 22:35:58.398 12.0, 0.0, 64.27392063848674, 74.67084251530468, 89.66784133762121, 0.11200000531971455, 0.6720000319182873, 0.7840000372380018, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158398514E9, 0.0, 2024-08-27 22:35:58.398 13.0, 0.0, 37.69445165339857, -31.665732924826443, -26.355074987746775, 0.11200000531971455, 0.6720000319182873, 0.7840000372380018, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158404891E9, 0.0, 2024-08-27 22:35:58.404 13.0, 0.0, 39.92717192694545, -20.322616359218955, -5.778145431540906, 0.11200000531971455, 0.6720000319182873, 0.7840000372380018, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158404891E9, 0.0, 2024-08-27 22:35:58.404 14.0, 0.0, 54.42676405515522, 58.503255006857216, 69.89125037193298, 0.11200000531971455, 0.6720000319182873, 0.7840000372380018, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158429897E9, 0.0, 2024-08-27 22:35:58.429 14.0, 0.0, 51.748995686881244, 4.192427850328386, 22.387041134759784, 0.11200000531971455, 0.6720000319182873, 0.7840000372380018, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158429897E9, 0.0, 2024-08-27 22:35:58.429 15.0, 0.0, 35.84320117533207, -37.42143895663321, -20.490911857225, 0.11200000531971455, 0.6720000319182873, 0.7840000372380018, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158434747E9, 0.0, 2024-08-27 22:35:58.434 15.0, 0.0, 55.335559744387865, 38.22925734706223, 44.94237776752561, 0.11200000531971455, 0.6720000319182873, 0.7840000372380018, 0.0, 0.0, 0.0, 0.0, 0.0, 1.724816158434747E9, 0.0, 2024-08-27 22:35:58.434

Comments

Sign In or Register to comment.