Project electrodes on head surface using a script

Hello,

I was wondering if you could please give me a hint on which brainstorm function to use to project the electrodes on head surface just as it is done with the gui, but with a script. The step I am referring to belongs to the MRI registration menu/EEG edit, and the option "project electrodes on surface". Once done with the gui in one file it is automatically applied to all files with the same channel file, but I want to do so in many other files with different channel files, so I was thinking on doing it with a script.

Many thanks in advance,

Fran

You can put the data files in the Process1 box and use the process Import > Channel file > Project electrodes on scalp (process_channel_project.m).
If you want to do it in an even more manual way, see what happens in the Run() function of this process function.

1 Like