Commit 4f074dc7 authored by Tom's avatar Tom

added another masking style

parent 4f549eb3
......@@ -85,6 +85,7 @@ cfg.method = 'ortho';
cfg.funparameter = 'powspctrm';
cfg.atlas = fullfile(path_to_ft,'/template/atlas/aal/ROI_MNI_V4.nii');
cfg.maskparameter = 'func_and_brain_mask';
cfg.crosshair = 'off';
ft_sourceplot(cfg,func_interp);
%% finally, my preferred option... conjoin brain mask and anatomy
......@@ -100,4 +101,20 @@ cfg.method = 'ortho';
cfg.funparameter = 'powspctrm';
cfg.atlas = fullfile(path_to_ft,'/template/atlas/aal/ROI_MNI_V4.nii');
cfg.maskparameter = 'anat_mask';
cfg.crosshair = 'off';
cfg.funcolorlim = [-1.5 1.5];
ft_sourceplot(cfg,func_interp);
%%
func_interp.hard_mask = (func_interp.powspctrm > 0.5 | func_interp.powspctrm < -0.5) & func_interp.brain_mask;
cfg = [];
cfg.method = 'ortho';
cfg.funparameter = 'powspctrm';
cfg.atlas = fullfile(path_to_ft,'/template/atlas/aal/ROI_MNI_V4.nii');
cfg.maskparameter = 'hard_mask';
cfg.crosshair = 'off';
cfg.funcolorlim = [-1.5 1.5];
ft_sourceplot(cfg,func_interp);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment