Extract scout times series folder different times

Dear community,
I intend to obtain the sLORETA scout times series of a series of files taht belong to the same folder with different time ranges. So I have one EEG and I import to database into blocks of 100ms. I want to obtain the amount of scouts series I have in that EEG. I tried with the GUI I'm afraid that's not possible. If I could try with code. I tried but I don't know how to folow from here brainstorm3/toolbox/process/functions/process_extract_scout.m at master · brainstorm-tools/brainstorm3 · GitHub

Thank you for all the help in advance!!

What you describe is possible in the GUI. If you already EEG signals imported in 100ms blocks, and have their sources with them, just place those source files (iconResult or iconResultLink ) in the Process1 tab, click on [Run] and select the process Extract > Scout time series.

When data is imported as blocks, they have the original time definition, so you need to either:

  1. Check the option All file in the process Extract > Scout time series, or

  2. Make uniform their time axis as shown in here:
    https://neuroimage.usc.edu/brainstorm/Tutorials/CorticomuscularCoherence#Epoching

If you want to write scripts to automate some task in Brainstorm, all the information you need is in this tutorial:
https://neuroimage.usc.edu/brainstorm/Tutorials/Scripting

may be the error was because I haven't made them uniform. That is interpolation rigth? Does it change anything in the data that could be relevant?