<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Cecilia,
<div class=""><br class="">
</div>
<div class="">Have you tried to compute the average on the low-resolution solutions, and only do the interpolation on the average?</div>
<div class=""><br class="">
</div>
<div class="">This should be possible, because you use the ‘mni-aligned grids’.</div>
<div class=""><br class="">
</div>
<div class="">Also, ft_sourcegrandaverage is a dinosaur of a function, and it looks as if it hasn’t grown along with the rest of the code. The pasted matlab-structure looks a bit strange, and I can imagine that FieldTrip chokes on it.</div>
<div class=""><br class="">
</div>
<div class="">Best wishes, </div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
J.M.Schoffelen, MD PhD<br class="">
Senior Researcher, VIDI-fellow - PI, language in interaction<br class="">
Telephone: +31-24-3614793</div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Physical location: room 00.028</div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Donders Centre for Cognitive Neuroimaging, Nijmegen, The Netherlands<br class="">
</div>
</div>
<div class=""> <br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 29 Nov 2017, at 11:20, Mazzetti, C. (Cecilia) <<a href="mailto:C.Mazzetti@donders.ru.nl" class="">C.Mazzetti@donders.ru.nl</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; direction: ltr; font-family: Tahoma; font-size: 10pt;" class="">
Hi Everyone,
<div class="">I am struggling with the source analysis and especially when averaging across subjects' source reconstruction.</div>
<div class="">The analysis for every subject was done according to the tutorial (creating MNI aligned grids in individual head space).</div>
<div class="">The point is when I try to plot the source grandaverage I get an error saying there is no 'anatomy' field in my data.</div>
<div class="">I tried to use both sourceinterpolate or add the anatomy field manually to the gsource_grandaverage structure but nothing works.</div>
<div class="">Here is what my source_grandaverage contains:</div>
<div class="">ga_sources</div>
<div class=""><br class="">
</div>
<div class="">   pow: [6×902629 double]</div>
<div class="">       dim: [91 109 91]</div>
<div class="">      freq: 9.9723</div>
<div class="">    inside: [902629×1 logical]</div>
<div class="">       pos: [902629×3 double]</div>
<div class="">      unit: 'mm'</div>
<div class="">       cfg: [1×1 struct]  <br class="">
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Any help is appreciated! Thanks!</div>
<div class=""><br class="">
<div style="font-family: Tahoma; font-size: 13px;" class="">
<div style="font-family: Tahoma; font-size: 13px;" class="">
<div style="font-family: Tahoma; font-size: 13px;" class="">
<div style="font-family: Tahoma; font-size: 13px;" class="">
<div style="font-family: 'Segoe UI', Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);" class="">
<font face="arial,sans-serif" class=""><font face="arial,helvetica,sans-serif" class="">Best,</font></font></div>
<div style="font-family: 'Segoe UI', Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);" class="">
<font face="arial,sans-serif" class=""><font face="arial,helvetica,sans-serif" class="">Cecilia</font></font></div>
<div style="font-family: 'Segoe UI', Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);" class="">
<font face="arial,sans-serif" class=""><font face="arial,helvetica,sans-serif" class=""><b class=""><br class="">
</b></font></font></div>
<div style="font-family: 'Segoe UI', Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);" class="">
<font face="arial,sans-serif" class=""><font face="arial,helvetica,sans-serif" class=""><b class=""><br class="">
</b></font></font></div>
<div style="font-family: 'Segoe UI', Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);" class="">
<br class="">
</div>
<div style="font-family: 'Segoe UI', Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);" class="">
<font face="arial,sans-serif" class=""></font></div>
<div style="font-family: 'Segoe UI', Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);" class="">
<font face="arial,sans-serif" class="">
<div style="margin: 0px;" class=""><br class="">
</div>
</font></div>
</div>
<div style="font-family: Tahoma; font-size: 13px;" class=""></div>
</div>
</div>
</div>
</div>
</div>
</div>
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">fieldtrip
 mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="mailto:fieldtrip@donders.ru.nl" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">fieldtrip@donders.ru.nl</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></div>
</blockquote>
</div>
<br class="">
</div>
<br class="">
<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<br class="">
</div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<br class="">
</div>
</div>
</div>
</div>
<br class="">
</body>
</html>