Hi,
Is there a way to access this window through the Pipeline Editor please?
It looks like the Pipeline Editor only takes the default setting. I would like to feed the head model with my own sources grid (and by script!)
Thank you,
Vito
Hi,
Is there a way to access this window through the Pipeline Editor please?
It looks like the Pipeline Editor only takes the default setting. I would like to feed the head model with my own sources grid (and by script!)
Thank you,
Vito
Hi Vito,
Indeed, there is no way to use this advanced interface to set your own source space from the pipeline editor.
I’ve just added an easy way to call the head modeler process with your own source grids, from a script.
You should get a call that looks like this:
sFiles = bst_process(...
'CallProcess', 'process_headmodel', ...
sFiles, [], ...
'comment', 'YOUR_COMMENT', ...
'sourcespace', 2, ...
'meg', 3, ... % Overlapping spheres
'eeg', 3, ... % OpenMEEG BEM
'ecog', 2, ... % OpenMEEG BEM
'seeg', 2, ...
'gridloc', YOUR_GRID_LOC, ...
'gridorient', [], ...
'openmeeg', struct(...
'BemFiles', {{}}, ...
'BemNames', {{'Scalp', 'Skull', 'Brain'}}, ...
'BemCond', [1, 0.0125, 1], ...
'BemSelect', [1, 1, 1], ...
'isAdjoint', 0, ...
'isAdaptative', 1, ...
'isSplit', 0, ...
'SplitLength', 4000));
Cheers,
Francois