<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"
downloadurl="http://www.5iantlavalamp.com/"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
p.ecxmsonormal, li.ecxmsonormal, div.ecxmsonormal
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
p.ecxmsonormal1, li.ecxmsonormal1, div.ecxmsonormal1
{mso-margin-top-alt:auto;
margin-right:0in;
margin-bottom:0in;
margin-left:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
p.ecxmsonormal2, li.ecxmsonormal2, div.ecxmsonormal2
{mso-margin-top-alt:auto;
margin-right:0in;
margin-bottom:0in;
margin-left:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
p.ecxmsonormal3, li.ecxmsonormal3, div.ecxmsonormal3
{mso-margin-top-alt:auto;
margin-right:0in;
margin-bottom:0in;
margin-left:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
p.ecxmsonormal4, li.ecxmsonormal4, div.ecxmsonormal4
{mso-margin-top-alt:auto;
margin-right:0in;
margin-bottom:0in;
margin-left:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
p.ecxmsonormal5, li.ecxmsonormal5, div.ecxmsonormal5
{mso-margin-top-alt:auto;
margin-right:0in;
margin-bottom:0in;
margin-left:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
span.ecxmsohyperlink1
{color:blue;
text-decoration:underline;}
p.ecxmsonormal6, li.ecxmsonormal6, div.ecxmsonormal6
{mso-margin-top-alt:auto;
margin-right:0in;
margin-bottom:0in;
margin-left:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
span.ecxmsohyperlink2
{color:blue;
text-decoration:underline;}
p.ecxmsonormal7, li.ecxmsonormal7, div.ecxmsonormal7
{mso-margin-top-alt:auto;
margin-right:0in;
margin-bottom:0in;
margin-left:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
span.ecxmsohyperlink3
{color:blue;
text-decoration:underline;}
span.ecxmsohyperlinkfollowed1
{color:blue;
text-decoration:underline;}
p.ecxmsonormal8, li.ecxmsonormal8, div.ecxmsonormal8
{mso-margin-top-alt:auto;
margin-right:0in;
margin-bottom:0in;
margin-left:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
span.ecxmsohyperlink4
{color:blue;
text-decoration:underline;}
span.ecxmsohyperlinkfollowed2
{color:blue;
text-decoration:underline;}
p.ecxmsonormal9, li.ecxmsonormal9, div.ecxmsonormal9
{mso-margin-top-alt:auto;
margin-right:0in;
margin-bottom:0in;
margin-left:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
span.ecxmsohyperlink5
{color:blue;
text-decoration:underline;}
span.ecxmsohyperlinkfollowed3
{color:blue;
text-decoration:underline;}
span.ecxemailstyle181
{font-family:Arial;
color:navy;}
p.ecxmsonormal10, li.ecxmsonormal10, div.ecxmsonormal10
{mso-margin-top-alt:auto;
margin-right:0in;
margin-bottom:0in;
margin-left:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
span.ecxmsohyperlink6
{color:blue;
text-decoration:underline;}
span.ecxmsohyperlinkfollowed4
{color:blue;
text-decoration:underline;}
span.ecxemailstyle182
{font-family:Arial;
color:navy;}
p.ecxmsonormal11, li.ecxmsonormal11, div.ecxmsonormal11
{mso-margin-top-alt:auto;
margin-right:0in;
margin-bottom:0in;
margin-left:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
span.ecxmsohyperlink7
{color:blue;
text-decoration:underline;}
span.ecxmsohyperlinkfollowed5
{color:blue;
text-decoration:underline;}
span.ecxemailstyle183
{font-family:Arial;
color:navy;}
span.EmailStyle48
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Dear Frederic,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Could it be that you wrote down the
indices of the voxels before interpolating? Since the voxels before
interpolating do not match anymore after interpolating onto the template_mri.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Best,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Ingrid<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> FieldTrip
discussion list [mailto:FIELDTRIP@NIC.SURFNET.NL] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Frederic Roux<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, December 04, 2009
2:51 PM<br>
<b><span style='font-weight:bold'>To:</span></b> FIELDTRIP@NIC.SURFNET.NL<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [FIELDTRIP]
interpolated source activity values = <st1:place w:st="on">NaN</st1:place></span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Verdana><span
style='font-size:10.0pt;font-family:Verdana'>Hi Ingrid,<br>
<br>
thanks for the quick reply. I will try your suggestion but I am pretty much
sure that the values I want to look at are inside the brain.<br>
<br>
My approach is the following:<br>
<br>
I want to indentify the voxels that show significant activation.<br>
So first I visualized my data with sourceplot and cfg.interactive = 'yes' and
then I write down the indices of the voxels onto which I click.<br>
<br>
When I feed these indices into SourceInterpolatedStats.stat([x y z]) this
returns me NaNs, even tough the voxel was clearly located inside the brain.<br>
<br>
Do you have any idea of why this happens?<br>
<br>
Frederic<o:p></o:p></span></font></p>
<div class=MsoNormal align=center style='text-align:center'><font size=2
face=Verdana><span style='font-size:10.0pt;font-family:Verdana'>
<hr size=2 width="100%" align=center id=stopSpelling>
</span></font></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Verdana><span
style='font-size:10.0pt;font-family:Verdana'>Date: Fri, 4 Dec 2009 13:21:17
+0100<br>
From: ingrid.nieuwenhuis@FCDONDERS.RU.NL<br>
Subject: Re: [FIELDTRIP] interpolated source activity values = <st1:place
w:st="on">NaN</st1:place><br>
To: FIELDTRIP@NIC.SURFNET.NL<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Frederic,</span></font><font size=2
face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font><font size=2
face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Probably the <st1:place w:st="on">NaN</st1:place>’s
are the voxels outside the brain. The source estimate is only performed for
voxels inside the brain, the voxels outside are put to <st1:place w:st="on">NaN</st1:place>.
In the field “inside” it is coded which voxels lay inside the brain. Try:</span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'>SourceInterpolatedStats.stat(SourceInterpolatedStats.inside)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>This should give you the non-NaN values.</span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font><font size=2
face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hope this helps,</span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Ingrid</span></font><font size=2
face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font><font size=2
face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font><font size=2
face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> FieldTrip
discussion list [mailto:FIELDTRIP@NIC.SURFNET.NL] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Frederic Roux<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, December 04, 2009
12:51 PM<br>
<b><span style='font-weight:bold'>To:</span></b> FIELDTRIP@NIC.SURFNET.NL<br>
<b><span style='font-weight:bold'>Subject:</span></b> [FIELDTRIP] interpolated
source activity values = <st1:place w:st="on">NaN</st1:place></span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font><font size=2 face=Verdana><span style='font-size:
10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Verdana><span
style='font-size:10.0pt;font-family:Verdana'>Hi everyone,<br>
<br>
I would like to use the values that correspond to the interpolated statistics
at source level. <br>
The problem is that most of these values are NaNs, even tough I can visualize
them with sourceplot.<br>
<br>
Here are the steps I am doing to compute these values:<br>
<br>
[signal1] = sourcegrandaverage(cfg,data);<br>
[signal2] = sourcegrandaverage(cfg,data);<br>
<br>
[Stats] = sourcestatistics(cfg,signal1,signal2);%the statistics used here is
depsamplesT using fdr and clusterstatistics = maxsum<br>
[SourceInterpolatedSats] = sourceinterpolate(cfg,Stats,template_mri);<br>
<br>
This yields:<br>
<br>
SourceInterpolatedSats =<br>
<br>
inside: [91x109x91 logical]<br>
stat: [91x109x91 double]<br>
dim: [91 109 91]<br>
transform: [4x4 double]<br>
anatomy: [91x109x91 double]<br>
cfg: [1x1 struct]<br>
<br>
But when I try :<br>
<br>
SourceInterpolatedStats.stat([20 45 68]) = <st1:place w:st="on">NaN</st1:place>.<br>
And this holds true for almost any index.<br>
<br>
Does anyone know if it's possible to access these values?<br>
<br>
Frederic<o:p></o:p></span></font></p>
<div class=MsoNormal align=center style='text-align:center'><font size=2
face=Verdana><span style='font-size:10.0pt;font-family:Verdana'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'>Alle E-Mail-Adressen online auf einen Blick <a
href="http://redirect.gimas.net/?n=M0912IWHM">Ich will Hotmail!</a><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Verdana><span
style='font-size:10.0pt;font-family:Verdana'>----------------------------------<br>
The aim of this list is to facilitate the discussion between users of the
FieldTrip toolbox, to share experiences and to discuss new ideas for MEG and
EEG analysis.<br>
http://listserv.surfnet.nl/archives/fieldtrip.html<br>
http://www.ru.nl/fcdonders/fieldtrip/<br>
----------------------------------<br>
The aim of this list is to facilitate the discussion between users of the
FieldTrip toolbox, to share experiences and to discuss new ideas for MEG and
EEG analysis.<br>
http://listserv.surfnet.nl/archives/fieldtrip.html<br>
http://www.ru.nl/fcdonders/fieldtrip/<o:p></o:p></span></font></p>
<div class=MsoNormal align=center style='text-align:center'><font size=2
face=Verdana><span style='font-size:10.0pt;font-family:Verdana'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'>Nie mehr um Weihnachtsgrüße verlegen: <a
href="http://redirect.gimas.net/?n=M0912XMasGreetings" target="_new">mit tollen
Weihnachts-E-Mails </a><o:p></o:p></span></font></p>
</div>
</body>
</html>
<p>----------------------------------</p>
<p>The aim of this list is to facilitate the discussion between users of the FieldTrip toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis.</p>
<p> http://listserv.surfnet.nl/archives/fieldtrip.html</p>
<p> http://www.ru.nl/fcdonders/fieldtrip/</p>
<p>----------------------------------</p>
<p>The aim of this list is to facilitate the discussion between users of the FieldTrip toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis.</p>
<p> http://listserv.surfnet.nl/archives/fieldtrip.html</p>
<p> http://www.ru.nl/fcdonders/fieldtrip/</p>