From ad1ba798ce97b0f294e9a3cd157af80ffade435b Mon Sep 17 00:00:00 2001 From: Robert Seymour Date: Wed, 11 Dec 2019 09:18:50 +1100 Subject: [PATCH] Swap normalisation to SPM12 in mq_coreg Address #23 --- Tools/coreg/mq_coreg.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tools/coreg/mq_coreg.m b/Tools/coreg/mq_coreg.m index 680e96e..0354cc1 100644 --- a/Tools/coreg/mq_coreg.m +++ b/Tools/coreg/mq_coreg.m @@ -194,6 +194,9 @@ function mq_coreg(dir_name,grad_trans,mri_file,... cfg.mri = mri_realigned2; cfg.grid.unit ='mm'; cfg.inwardshift = -1.5; +cfg.spmversion = 'spm12'; % default is 'spm8' +cfg.spmmethod = 'new'; % default is 'old' +disp('Using the new SPM12 normalisation... this takes 3-4 minutes'); sourcemodel3d = ft_prepare_sourcemodel(cfg); % Create figure to check headodel and sourcemodel match