Skip to content

Commit ad1ba79

Browse files
committed
Swap normalisation to SPM12 in mq_coreg
Address #23
1 parent 7b195be commit ad1ba79

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tools/coreg/mq_coreg.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,9 @@ function mq_coreg(dir_name,grad_trans,mri_file,...
194194
cfg.mri = mri_realigned2;
195195
cfg.grid.unit ='mm';
196196
cfg.inwardshift = -1.5;
197+
cfg.spmversion = 'spm12'; % default is 'spm8'
198+
cfg.spmmethod = 'new'; % default is 'old'
199+
disp('Using the new SPM12 normalisation... this takes 3-4 minutes');
197200
sourcemodel3d = ft_prepare_sourcemodel(cfg);
198201

199202
% Create figure to check headodel and sourcemodel match

0 commit comments

Comments
 (0)