Skip to content

Commit

Permalink
Merge pull request #804 from contsili/patch-2
Browse files Browse the repository at this point in the history
Update fittemplate.md
  • Loading branch information
robertoostenveld authored Sep 16, 2024
2 parents c983f1f + 778cc1e commit 99b92ba
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions example/fittemplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,21 @@ We create the volume conduction models using Openmeeg. This model can be later u
Another option for MEG is to create a single-shell model on the basis of the brain compartment.

cfg = [];
cfg.method = 'singlesphere';
cfg.method = 'singleshell';
headmodel_singleshell_sphere = ft_prepare_headmodel(cfg, template_fit_sphere.bnd(3));

cfg = [];
cfg.method = 'singlesphere';
headmodel_singleshell_sphere = ft_prepare_headmodel(cfg, template_fit_surface.bnd(3));
cfg = [];
cfg.method = 'singleshell';
headmodel_singleshell_surface = ft_prepare_headmodel(cfg, template_fit_surface.bnd(3));

### Single-sphere model

Lastly, for MEG we can create a single-sphere model on the basis of the brain compartment.

cfg = [];
cfg.method = 'singlesphere';
headmodel_singlesphere_sphere = ft_prepare_headmodel(cfg, template_fit_sphere.bnd(3));

cfg = [];
cfg.method = 'singlesphere';
headmodel_singlesphere_surface = ft_prepare_headmodel(cfg, template_fit_surface.bnd(3));

0 comments on commit 99b92ba

Please sign in to comment.