<div dir="rtl"><div style="text-align:left">!Thanks</div><div style="text-align:left">:I tried to do this, and to used ft_sourcedescriptives but I got an error message<br></div><div><div style="text-align:left"><br></div><div style="text-align:left">Attempted to access sel(1); index out of bounds because numel(sel)=0.</div><div style="text-align:left"><br></div><div style="text-align:left">Error in ft_sourceinterpolate>my_interpn (line 688)</div><div style="text-align:left"> ft_progress(sel(1)/num, 'interpolating %.1f%%\n', 100*sel(1)/num);</div><div style="text-align:left"><br></div><div style="text-align:left">Error in ft_sourceinterpolate (line 535)</div><div style="text-align:left"> interp.inside( sel) = my_interpn(double(functional.inside), ax(sel), ay(sel), az(sel), 'nearest', cfg.feedback);</div><div dir="ltr"> </div></div><div dir="ltr"><div dir="ltr">Why?</div><div dir="ltr"><br></div><div>thanks, Noa.</div><div><br></div></div><div dir="ltr"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div dir="ltr">2018-03-19 23:25 GMT+02:00 Julian Keil <span dir="ltr"><<a href="mailto:julian.keil@gmail.com" target="_blank">julian.keil@gmail.com</a>></span>:</div><blockquote class="gmail_quote" style="margin:0 .8ex;border-left:1px #ccc solid;border-right:1px #ccc solid;padding-left:1ex;padding-right:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Hi Noa,<div><br></div><div>either use ft_sourceinterpolate to interpolate the grandaverage to a standard-MRI, or use the „surface“-option when plotting.</div><div><br></div><div>Cheers,</div><div><br></div><div>Julian</div><div><br><div>
<div style="color:rgb(0,0,0);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">________________<br>Prof. Dr. Julian Keil<br><br>Biologische Psychologie<br>Olshausenstraße 62 - R. 306<br>24118 Kiel<br><br>0431 / 880 - 4872<br><a href="http://www.biopsych.uni-kiel.de/" target="_blank">http://www.biopsych.uni-kiel.<wbr>de/</a><br><br>Klinik für Psychiatrie und Psychotherapie<br>der Charité im St. Hedwig-Krankenhaus<br>Große Hamburger Straße 5-11<br>10115 Berlin<br><br>030 / 2311 - 1879<br><a href="http://www.multisensorymind.com" target="_blank">www.multisensorymind.com</a></div>
</div>
<div><br><blockquote type="cite"><div><div class="h5"><div>Am 19.03.2018 um 21:51 schrieb נועה הכהן <<a href="mailto:noa1hc@gmail.com" target="_blank">noa1hc@gmail.com</a>>:</div><br class="m_-5882329704167892630Apple-interchange-newline"></div></div><div style="direction:rtl"><div><div class="h5"><div dir="rtl">
<div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;font-size:12.8px;background-color:rgb(255,255,255)"><div dir="ltr">Hi all,</div><div dir="ltr">I am working on source recognition. I used ft_sourcegrandavrage, but I could not plotting the results, because there is no 'anatomy' field. why is it happening?</div></div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;font-size:12.8px;background-color:rgb(255,255,255)"><br></div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;font-size:12.8px;background-color:rgb(255,255,255)">my code is-</div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;font-size:12.8px;background-color:rgb(255,255,255)">norm_source.pos=template_grid.<wbr>pos</div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;font-size:12.8px;background-color:rgb(255,255,255)">norm_source.inside=template_gr<wbr>id.inside</div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;font-size:12.8px;background-color:rgb(255,255,255)">cfg.parameter = 'pow'</div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;font-size:12.8px;background-color:rgb(255,255,255)">cfg.keepindividual = 'yes'</div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;font-size:12.8px;background-color:rgb(255,255,255)">[grandavg] = ft_sourcegrandaverage(cfg,<span> </span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">nor<wbr>m_source</span><span> </span>1,<span> </span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">norm_source</span><span> </span>2) </div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;font-size:12.8px;background-color:rgb(255,255,255)"><br></div><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;font-size:12.8px;background-color:rgb(255,255,255)"><pre style="white-space:pre-wrap;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px"><font face="arial, helvetica, sans-serif">This generates a structure with the following fields:</font></pre><pre style="white-space:pre-wrap;text-align:start;text-indent:0px;text-decoration-style:initial;text-decoration-color:initial"><font face="arial, helvetica, sans-serif"><font><span style="white-space:pre-wrap">grandavg =
pow: [2x7109137 double]
coordsys: 'spm'
dim: [181 217 181]
inside: [6804x1 logical]
pos: [6804x3 double]
cfg: [1x1 struct]<br></span></font></font></pre><pre style="white-space:pre-wrap;text-align:start;text-indent:0px;text-decoration-style:initial;text-decoration-color:initial"><font face="arial, helvetica, sans-serif"><font><span style="white-space:pre-wrap"><br></span></font></font></pre><pre style="white-space:pre-wrap;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px"><font face="arial, helvetica, sans-serif">Thanks!</font></pre>Noa</div>
<br></div><div id="m_-5882329704167892630DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br> <table style="border-top:1px solid #d3d4de">
<tbody><tr>
<td style="width:55px;padding-top:18px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width:46px;height:29px"></a></td>
<td style="width:470px;padding-top:17px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">בלי וירוסים. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" style="color:#4453ea" target="_blank">www.avast.com</a> </td>
</tr>
</tbody></table>
<a width="1" height="1"></a></div></div></div>
______________________________<wbr>_________________<br>fieldtrip mailing list<br><a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a><br><a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">https://mailman.science.ru.nl/<wbr>mailman/listinfo/fieldtrip</a></div></blockquote></div><br></div></div><br>______________________________<wbr>_________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/<wbr>mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div>