Matlab format for sEEG analysis

Hi there,

I am new to BrainStorm and I have my intracranial EEG recordings saved in a Matlab file. I was wondering what structure BrainStorm needed a Matlab file to be in. Additionally, I have heard that .mat files are supported by BrainStorm but this is not listed on the website. Can someone help me understand my questions?

Hello @Lisamhirt

Yes, all the Brainstom's data is stored as Matlab data files.
As a first recommendation, you may need to follow the introduction tutorial for a general overview of Brainstorm.

https://neuroimage.usc.edu/brainstorm/Tutorials

Then for your case, the sEEG data, you may need to read these tutorials
https://neuroimage.usc.edu/brainstorm/Tutorials/Epileptogenicity
https://neuroimage.usc.edu/brainstorm/Tutorials/ECoG
and check how part of the data is organized here :
https://neuroimage.usc.edu/brainstorm/Tutorials/Epileptogenicity#On_the_hard_drive

Hope this can help.

best,

@Lisamhirt
If you can have access to the original recordings, the best option would be to work directly with the native file format. If this is not an option, you may need to rewrite your Matlab files with a different structure.

For storing EEG recordings, Matlab .mat files are not really a "file format" but rather a generic container, they contain a list of variables that each researcher would save in a different way. Four types of Matlab structures can be loaded by Brainstorm:

When importing your data files, you just need to select the appropriate file format in the dialog window.
For the first and the last file types, you would need to write manually a channel file:
https://neuroimage.usc.edu/brainstorm/Tutorials/ChannelFile#On_the_hard_drive