<div dir="ltr"><p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35)"><span style="">Dear all,</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35);min-height:15px"><span style=""></span><br></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35)"><span style="">unfortunately, I am having problems to run source statistics on ERF mismatch negativity data (recorded with a 4D system). </span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35);min-height:15px"><span style=""></span><br></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35)"><span style="">With the following data structure as input (output from ft_sourcegrandaverage), fieldtrip gives a warning that it „could not determine dimord of „pow“ in the following data“</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35);min-height:15px"><span style=""></span><br></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35)"><span style="">pow: [16x37696 double]</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35)"><span style="">dim: [31 38 32]</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35)"><span style="">inside: [37696x1 logical]</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35)"><span style="">pos: [37696x3 double]</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35)"><span style="">time: [1x900 double]</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35)"><span style="">cfg: [1x1 struct]</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35);min-height:15px"><span style=""></span><br></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35)"><span style="">and later throws an error that „field „pow“ (is) not present in data“. I checked the ft_sourcestatistic script step by step and found out that ft_selectdata removes it after being called by ft_sourcestatistics.</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35);min-height:15px"><span style=""></span><br></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35)"><span style="">I am using the fieldtrip version from 15/05/2015. I also tried with older versions, one from late 2014 and late 2013, but nothing worked.</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35);min-height:15px"><span style=""></span><br></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35)"><span style="">Unfortunately, since ft_selectdata removes the field "pow" from the data during the call to ft_sourcestatistic, I can’t put it back in to the structure. </span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35);min-height:15px"><span style=""></span><br></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35)"><span style="">Any help with this (esp. why „pow“ is being removed) is highly appreciated!</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35);min-height:15px"><span style=""></span><br></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35)"><span style="">Thanks and best wishes,</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35);min-height:15px"><span style=""></span><br></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35)"><span style="">Andreas</span></p><p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35)"><span style=""><br></span></p><p style="margin:0px;font-size:13px;line-height:normal;font-family:Arial;color:rgb(35,35,35)"><span style=""><br></span></p><div><div><br></div>-- <br><div class="gmail_signature"><div></div><div>Dipl.-Psych. Andreas Sauer</div><div>Max Planck Institute for Brain Research</div><div>Deutschordenstraße 46</div><div>60528 Frankfurt am Main</div><div>Germany</div><div><br></div><div>T: +49 69 96769 278</div><div>F: +49 69 96769 327</div><div>Email: <a href="mailto:sauer.mpih@gmail.com" target="_blank">sauer.mpih@gmail.com</a></div><div><a href="http://www.brain.mpg.de" target="_blank">www.brain.mpg.de</a></div></div>
</div></div>