Jaeun
April 21, 2020, 2:20am
1
Hello,
Can I get the source data file (after doing the inverse problem on EEG)?
For example, how can I get the source data corresponding to EEG signal data (e.g. in numpy or mat format) on the epilepsy tutorial not only visualizing the source? https://neuroimage.usc.edu/brainstorm/Tutorials/Epilepsy#DatasetEpilepsy.License
Best regards,
Jaeun
1 Like
Hi Jaeun,
Do you mean the vertices X time matrix filled with the activation values at a vertex at a certain time point? In that case you can, after doing the source localization, export the data to matlab or a file like this (where Export as 4D matrix is arbitrarily selected) :
Kind regards,
Steven
The files are available as .mat files in the brainstorm database, you can read these files in Matlab or Python.
The section "On the hard drive" of the introduction tutorial on source estimation explains how the data is stored and how to read it from a Matlab script:
https://neuroimage.usc.edu/brainstorm/Tutorials/SourceEstimation#On_the_hard_drive
If you want full time series instead of the optimized storage (imaging kernel), select the option "Full results":
https://neuroimage.usc.edu/brainstorm/Tutorials/SourceEstimation#Output_mode
1 Like