First of all, it is very inefficient to save such gigantic text files.
I recommend you use other alternatives offered by OpenBCI, like the BDF format, which is natively supported by Brainstorm, FieldTrip and EEGLAB.
It does not look like the OpenBCI text file is a fixed file format. It looks more like OpenBCI saves CSV files with a list of columns that depends on the acquisition setup. Therefore, we cannot really make it a file format directly supported by Brainstorm.
Now I guess you already have your recordings available in this CSV file and you need to find a way to process it. The first option I could recommend would be to look for a solution to convert this gigantic text file to a binary file in a standard EEG format (EDF, BDF or BrainVision).
If you can't find any easy solution for doing that, two options:
- You could try to reformat your text file into another CSV text file with standard column names, so that it can be read by other programs. For example the CSV files used by Muse or Wearable Sensing EEG systems:
- Load your files in Matlab with
csvread
, then save it directly as a Brainstorm data_...mat structure. You can even save it directly into the Brainstorm database, but you have to be very careful. The structures for the data and channel files are documented in the sections "On the hard drive" in the introduction tutorials. Read the tutorial Scripting before: