Skip to content

Commit 18ab14a

Browse files
committed
update mq_coreg_ipad --> SPM12 normalisation
#23
1 parent ad1ba79 commit 18ab14a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tools/coreg/mq_coreg_ipad.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ function mq_coreg_ipad(dir_name,mri_file,...
204204
cfg.mri = mri_realigned2;
205205
cfg.grid.unit ='mm';
206206
cfg.inwardshift = -1.5;
207+
cfg.spmversion = 'spm12'; % default is 'spm8'
208+
cfg.spmmethod = 'new'; % default is 'old'
209+
disp('Using the new SPM12 normalisation... this takes 3-4 minutes');
207210
sourcemodel3d = ft_prepare_sourcemodel(cfg);
208211

209212
% Create figure to check headodel and sourcemodel match

0 commit comments

Comments
 (0)