<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body> <br><br><br>-------- Oorspronkelijk bericht --------<br>Onderwerp:Fwd: creating mni-normalised headmodels of neuromag data<br>Van:Hanneke van Dijk <Hanneke.vanDijk@med.uni-duesseldorf.de><br>Aan:"van Dijk, Hanneke" <hanneke.vandijk@med.uni-duesseldorf.de><br>Cc:<br><br><br><br>Dear all,<br><br>I am creating headmodels of neuromag data (Using FT version 20123105 and the example script http://fieldtrip.fcdonders.nl/example/create_single-subject_grids_in_individual_head_space_that_are_all_aligned_in_mni_space) <br><br>The 'vol' structure is created like this:<br><br>cfg                      = [];<br>cfg.coordsys         = 'neuromag'; <br>cfg.method           = 'singleshell';<br>cfg.sourceunits     = 'mm'; % I have been playing with different units here<br>vol = ft_prepare_singleshell(cfg, segmentedmri);<br><br>the 'grid' like this:<br><br>load(strcat(basepath,'templates/template_grid.mat'));<br>cfg                  = [];<br>cfg.grid.warpmni     = 'yes';<br>cfg.grid.template   = template_grid;<br>cfg.grid.nonlinear  = 'yes'; % use non-linear normalization<br>cfg.coordsys        = 'neuromag'; <br>cfg.sourceunits     = 'm';  % I have been playing with different units here as well (the template grid resolution is 1 cm)<br>cfg.mri                 = mri;<br>cfg.vol                  = vol;<br>grid                     = ft_prepare_sourcemodel(cfg);<br>save(strcat(basepath,cases{s},'brain.mat'), 'vol','grid');<br><br>Everything works well, untill I plot and see that the sizes/ origins (or units) are completely different for the vol and grid. At the moment I cannot find a solution. Does anyone have an idea?<br>The results are plotted and attached to this e-mail.<br><br>Thanks in advance,<br><br>Hanneke<br><br><br><br><br>__________________________________________<br><br>Hanneke van Dijk, PhD<br><br>http://www.uniklinik-duesseldorf.de/deutsch/unternehmen/institute/KlinNeurowiss/Team/HannekevanDijk/page.html  <br><br>Institute for Clinical Neuroscience,<br><br>Heinrich Heine Universität Düsseldorf, Germany<br><br> </body>