CSV file format errors for markers
Posted: Thu Nov 28, 2019 6:43 pm
Hello,
I'm encountering errors when reading Muse Monitor CSV files that contain "blink" and "jaw_clench" messages. The format changes, the number of columns are not consistent with the rest of the file. For example:
As per the header layout, the columns are:
# TimeStamp,
# Delta_TP9,Delta_AF7,Delta_AF8,Delta_TP10,
# Theta_TP9,Theta_AF7,Theta_AF8,Theta_TP10,
# Alpha_TP9,Alpha_AF7,Alpha_AF8,Alpha_TP10,
# Beta_TP9,Beta_AF7,Beta_AF8,Beta_TP10,
# Gamma_TP9,Gamma_AF7,Gamma_AF8,Gamma_TP10,
# RAW_TP9,RAW_AF7,RAW_AF8,RAW_TP10,AUX_RIGHT,
# Mellow,Concentration,
# Accelerometer_X,Accelerometer_Y,Accelerometer_Z,
# Gyro_X,Gyro_Y,Gyro_Z,
# HeadBandOn,
# HSI_TP9,HSI_AF7,HSI_AF8,HSI_TP10,
# Battery,
# Elements
However, a row that contains a "blink" or a "jaw_clench" message breaks this format:
# 2019-11-24 18:56:23.826,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,/muse/elements/blink
# 2019-11-24 18:56:23.826,
# , , , ,
# , , , ,
# , , , ,
# , , , ,
# , , , ,
# , , , , ,
# , ,
# , , ,
# , , ,
# ,
# , , , /muse/elements/blink
# 2019-11-24 18:27:14.523,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,/muse/elements/jaw_clench
# 2019-11-24 18:27:14.523,
# , , , ,
# , , , ,
# , , , ,
# , , , ,
# , , , ,
# , , , , ,
# , ,
# , , ,
# , , ,
# ,
# , , , /muse/elements/jaw_clench
As opposed to a typical EEG message:
# 2019-11-24 18:10: 37.955,-0.056779124,-0.4869447,0.0513708,-0.11849284,-0.22336058,-0.6603433,-0.22185676,-0.3285773,-0.29817685,-0.4057947,0.10669098,0.11137576,-0.07063401,-0.44569674,0.4892052,0.107916296,-0.26754653,-0.82047045,0.3018993,-0.117138065,843.73627,847.3626,822.381,853.4066,786.52014,-0.190185546875,0.1046142578125,0.9686279296875,0.28411865234375,1.487884521484375,3.521575927734375,1,1.0,1.0,1.0,1.0,75.09
# 2019-11-24 18:10:37.955,
# -0.056779124, -0.4869447, 0.0513708, -0.11849284,
# -0.22336058 -0.6603433, -0.22185676, -0.3285773,
# -0.29817685, -0.4057947, 0.10669098, 0.11137576,
# -0.07063401, -0.44569674, 0.4892052, 0.107916296,
# -0.26754653, -0.82047045, 0.3018993, -0.117138065,
# 854.21246, 855.82416, 853.4066, 859.0476, 853.4066,
# -0.190185546875, 0.1046142578125, 0.9686279296875,
# 0.28411865234375, 1.487884521484375, 3.521575927734375
# ,1
# ,1.0,1.0,1.0,1.0,
# 5.09
Can you confirm this is what Muse Monitor is outputting and if so please update the app?
Thanks,
Debra Peri
I'm encountering errors when reading Muse Monitor CSV files that contain "blink" and "jaw_clench" messages. The format changes, the number of columns are not consistent with the rest of the file. For example:
As per the header layout, the columns are:
# TimeStamp,
# Delta_TP9,Delta_AF7,Delta_AF8,Delta_TP10,
# Theta_TP9,Theta_AF7,Theta_AF8,Theta_TP10,
# Alpha_TP9,Alpha_AF7,Alpha_AF8,Alpha_TP10,
# Beta_TP9,Beta_AF7,Beta_AF8,Beta_TP10,
# Gamma_TP9,Gamma_AF7,Gamma_AF8,Gamma_TP10,
# RAW_TP9,RAW_AF7,RAW_AF8,RAW_TP10,AUX_RIGHT,
# Mellow,Concentration,
# Accelerometer_X,Accelerometer_Y,Accelerometer_Z,
# Gyro_X,Gyro_Y,Gyro_Z,
# HeadBandOn,
# HSI_TP9,HSI_AF7,HSI_AF8,HSI_TP10,
# Battery,
# Elements
However, a row that contains a "blink" or a "jaw_clench" message breaks this format:
# 2019-11-24 18:56:23.826,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,/muse/elements/blink
# 2019-11-24 18:56:23.826,
# , , , ,
# , , , ,
# , , , ,
# , , , ,
# , , , ,
# , , , , ,
# , ,
# , , ,
# , , ,
# ,
# , , , /muse/elements/blink
# 2019-11-24 18:27:14.523,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,/muse/elements/jaw_clench
# 2019-11-24 18:27:14.523,
# , , , ,
# , , , ,
# , , , ,
# , , , ,
# , , , ,
# , , , , ,
# , ,
# , , ,
# , , ,
# ,
# , , , /muse/elements/jaw_clench
As opposed to a typical EEG message:
# 2019-11-24 18:10: 37.955,-0.056779124,-0.4869447,0.0513708,-0.11849284,-0.22336058,-0.6603433,-0.22185676,-0.3285773,-0.29817685,-0.4057947,0.10669098,0.11137576,-0.07063401,-0.44569674,0.4892052,0.107916296,-0.26754653,-0.82047045,0.3018993,-0.117138065,843.73627,847.3626,822.381,853.4066,786.52014,-0.190185546875,0.1046142578125,0.9686279296875,0.28411865234375,1.487884521484375,3.521575927734375,1,1.0,1.0,1.0,1.0,75.09
# 2019-11-24 18:10:37.955,
# -0.056779124, -0.4869447, 0.0513708, -0.11849284,
# -0.22336058 -0.6603433, -0.22185676, -0.3285773,
# -0.29817685, -0.4057947, 0.10669098, 0.11137576,
# -0.07063401, -0.44569674, 0.4892052, 0.107916296,
# -0.26754653, -0.82047045, 0.3018993, -0.117138065,
# 854.21246, 855.82416, 853.4066, 859.0476, 853.4066,
# -0.190185546875, 0.1046142578125, 0.9686279296875,
# 0.28411865234375, 1.487884521484375, 3.521575927734375
# ,1
# ,1.0,1.0,1.0,1.0,
# 5.09
Can you confirm this is what Muse Monitor is outputting and if so please update the app?
Thanks,
Debra Peri