chenfe
December 20, 2024, 4:43pm
1
Hi Brainstorm Team,
In Brainstorm, I want to do a CG analysis at the source level.
For each subject, I have source-localised all trials and extracted the scout time series for each trial.
However, I need to pre-process the time series to remove the stationary components.
I notice that there is a button called "Import from Matlab ", when I right-click a scout time series in the Brainstorm GUI.
I am wondering if I can create a script to automatically import processed time series from MATLAB?
I'm looking forward to your reply. Thank you very much in advance for you reply.
Best,
Fan
tmedani
December 20, 2024, 8:39pm
2
Hi @chenfe
Yes this is possible, once you have your data in Mtlab, you can import it to Brainstorm,
check this post:
Hello,
Importing recordings from Matlab matrices or text files is still handled with older interface functions. You can't set the import options from the process options.
Three solutions to your problem:
You load all your files with the interactive menu: right-click > Import MEG/EEG: This will ask you the missing information.
[image]
Do this only once, the options will be saved permanently, then if you call again process_import_data_time or process_import_data_epoch, they will used you redeā¦
How are the Scout time series pre-processed?
If this is performed in for each file independently, and in Matlab, you could use the process Pre-process > Run Matlab command
https://neuroimage.usc.edu/brainstorm/Tutorials/TutUserProcess#Alternative