I am working on a large EEG data for epilepsy patients. The data is aquired using Compumedics Profusion software and is stored in *.RDA format. Brainstorm seems to be the only tool to support *.RDA files. I managed to open the RAW file in Brainstorm GUI. I also have managed to get the header data using in_fopen_compumedics_pfs(DataFile). However, I am unable to load the actual EEG data in MATLAB.
Possible options:
- From the GUI: use the menu "Import MEG/EEG" to epoch the data, and get a .mat copy of the data in the Brainstorm database.
https://neuroimage.usc.edu/brainstorm/Tutorials/Epoching - From a script: use the function
in_fopen.m
to get asFile
structure, thenin_fread.m
to read data from it. You can leave most of the input parameters empty.
https://github.com/brainstorm-tools/brainstorm3/blob/master/toolbox/io/in_fread.m - The file format is simple, you can also write your own script that opens the file with Matlab's
fopen
and thenfread
to read the entire binary file:
https://github.com/brainstorm-tools/brainstorm3/blob/master/toolbox/io/in_fread_compumedics_pfs.m