Skip to content

Commit

Permalink
Swap normalisation to SPM12 in mq_coreg
Browse files Browse the repository at this point in the history
Address #23
  • Loading branch information
neurofractal committed Dec 10, 2019
1 parent 7b195be commit ad1ba79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tools/coreg/mq_coreg.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ad1ba79

Please sign in to comment.