Indeed, the help string for out_fieldtrip_headmodel
is outdated, we will fix ASAP.
That missing argument is in fact the index for the channels that you want to use for the leadfield computation. In your case as there are only 32 EEG channels, using 1:32
is ok.
We encourage you to explore the Brainstorm documentation, GitHub repo and Forum for similar questions, as the answer is often few clicks away. For example, the answer for this question can be found:
-
In the links that we shared earlier state how to Convert Brainstorm structures to FieldTrip structures:
https://neuroimage.usc.edu/brainstorm/Tutorials/Scripting#Reference:_File_manipulation -
By searching in the Forum, this will lead you to this thread with the required information:
Convert BS to filedtrip