From 5693ce3163bd3e0a7413450bda367cd67a8ddfac Mon Sep 17 00:00:00 2001 From: Konstantinos Tsilimparis <105793148+contsili@users.noreply.github.com> Date: Sun, 15 Sep 2024 23:39:59 +0200 Subject: [PATCH 1/2] Update fittemplate.md Fixed typo: from cfg.method = 'singlesphere' to cfg.method = 'singleshell'. --- example/fittemplate.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/fittemplate.md b/example/fittemplate.md index 7f248d05d..aad48d688 100644 --- a/example/fittemplate.md +++ b/example/fittemplate.md @@ -190,9 +190,9 @@ 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'; + cfg.method = 'singleshell'; headmodel_singleshell_sphere = ft_prepare_headmodel(cfg, template_fit_surface.bnd(3)); From 778cc1efaf8cae4dcb824abbcea6785f941d8ec9 Mon Sep 17 00:00:00 2001 From: Konstantinos Tsilimparis <105793148+contsili@users.noreply.github.com> Date: Mon, 16 Sep 2024 14:06:35 +0200 Subject: [PATCH 2/2] Update fittemplate.md Fixed typos in the single-shell headmodel subsection Added single-sphere headmodel subsection --- example/fittemplate.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/example/fittemplate.md b/example/fittemplate.md index aad48d688..d8661fff5 100644 --- a/example/fittemplate.md +++ b/example/fittemplate.md @@ -193,6 +193,18 @@ Another option for MEG is to create a single-shell model on the basis of the bra cfg.method = 'singleshell'; headmodel_singleshell_sphere = ft_prepare_headmodel(cfg, template_fit_sphere.bnd(3)); - cfg = []; - cfg.method = 'singleshell'; - 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));