Import scout time series from MATLAB

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

Hi @chenfe

Yes this is possible, once you have your data in Mtlab, you can import it to Brainstorm,
check this post:

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