fcx-1: problem with loading eeg data
Dear all,
I am trying to use function "Load_binary.m" to open .eeg binary data file, but it uses some funcitons like "FileExists", "LoadPar" etc. Could you please help to find all those functions?
Many thanks,
Stas Makarchuk
Sorry to be slow. Stas, please try the functions available now in the buzcode repository here:
https://github.com/buzsakilab/buzcode
If you download that whole repository, you should have all dependencies taken care of. Specifiaclly to load the .eeg, you should now use bz_LoadBInary.m
You can also email me at my University of Michigan address
Best
Brendon
Dear all,
Thank you for answering the question above, using bz_LoadBinary.m helped us import the data.
However, I notice that it only contains 1 column (see figure below). Whereas the data description mentioned there should be multiple electrodes in this file. I have also tried to use a standard MATLAB function to import binary files (>> fread(fileID, Inf, format)), which gives me same shape. I have tried three different recordings from different rats. And they all show the same pattern.
Thus, I was wondering if there might be something with the data or file itself. Does it still contain data from all electrodes, but lost the column indicators? Or is it possible to partition the single column into multiples based on the number of electrodes per rat in the "basename_ChannelAnatomy" file?
Thank you for your help!
Quirine van Engen
So sorry I'm just seeing this now.
I think this newer version of load binary is good
https://github.com/buzsakilab/buzcode/blob/dev/io/bz_LoadBinary.m
In general, try downloading the dev branch of buzcode:
https://github.com/buzsakilab/buzcode/tree/dev
Previously Stanislaw Makarchuk wrote:
Dear all,
I am trying to use function "Load_binary.m" to open .eeg binary data file, but it uses some funcitons like "FileExists", "LoadPar" etc. Could you please help to find all those functions?
Many thanks,
Stas Makarchuk