SDK commands to get the data files from SD card to the computer
Hi, I'm using brainflow, Cyton and SD card to save EEG data. after stoping the data stream, are the datas still in the internal buffer? so that we can save it on our computer as well in .csv file with 250Hz? or do we
have any SDK commands to get the data from sd card right after it saves on SD card?
It just that I'm converting the data type of the EEG file and doing some post-processing with brainflow.
Sincerely,
Shyamal
Comments
The buffering on the Cyton mainboard RAM is minimal, only a sample or so until it is either sent to the RFduino radio or stored on the SD card. You are expected to remove the SD card and read it on your computer card drive. There is no SDK command to read SD card and send over the radios.
Understood, now to convert the hex values in those files we need to set the scale factor to be about 0.02235 according to this thread https://github.com/OpenBCI/OpenBCI_GUI/issues/1014 Also, according to this https://github.com/OpenBCI/OpenBCI_GUI/blob/4ab8cf7e024aed367e0cca07f02ad4e3b4366836/OpenBCI_GUI/DataSourceSDCard.pde#L287 the logic behind negative values and postive values is understood. However, I cannot figure it out how can i implement this in python to convert the whole file. I need help for this because our research need 250Hz sampling rate in order to carry on with the experiments.
https://github.com/OpenBCI/OpenBCI_GUI/issues/1014
Linking this thread and this issue. Upping the priority and planning this for next GUI which is now in active development.