<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>creating mni-normalised headmodels of neuromag data</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Dear all,<BR>
<BR>
I am creating headmodels of neuromag data (Using FT version 20123105 and the example script <A HREF="http://fieldtrip.fcdonders.nl/example/create_single-subject_grids_in_individual_head_space_that_are_all_aligned_in_mni_space">http://fieldtrip.fcdonders.nl/example/create_single-subject_grids_in_individual_head_space_that_are_all_aligned_in_mni_space</A>)<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>
<A HREF="http://www.uniklinik-duesseldorf.de/deutsch/unternehmen/institute/KlinNeurowiss/Team/HannekevanDijk/page.html">http://www.uniklinik-duesseldorf.de/deutsch/unternehmen/institute/KlinNeurowiss/Team/HannekevanDijk/page.html</A> <<A HREF="http://www.uniklinik-duesseldorf.de/deutsch/unternehmen/institute/KlinNeurowiss/Team/HannekevanDijk/page.html">http://www.uniklinik-duesseldorf.de/deutsch/unternehmen/institute/KlinNeurowiss/Team/HannekevanDijk/page.html</A>><BR>
<BR>
Institute for Clinical Neuroscience,<BR>
<BR>
Heinrich Heine Universität Düsseldorf, Germany<BR>
<BR>
Hanneke.vanDijk@med.uni-duesseldorf.de<BR>
<BR>
Tel. +49 (0) 211 81 13074  <BR>
<BR>
__________________________________________                                       <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>