<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Dear Fieldtrip team,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>My sincere apologies for spamming your mailbox (twice), there seemed to be a wrong flag somewhere in my code, causing a data set mix up. The problem is solved now.</DIV><DIV>Regards,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Jeroen.</DIV><DIV><DIV><DIV><DIV>On Jul 9, 2007, at 12:22 PM, Jeroen Geuze wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Dear Fieltrip team,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I'm using freqanalysis_mtmconvol to extract single trial TFR data. What I noticed when running the code is that not all my trials end up in the 4D powspctrm field of the result struct. I have used two datasets. One contains 193 trials and the other 324. When I run freqanalysis, I am left with 154 and 140 trials respectively in the rpt part of powspctrm. Is there a problem here or is my fieldtrip ignorance playing up.</DIV><DIV>The config I used:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Courier">cfg</FONT><FONT class="Apple-style-span" face="Courier">              </FONT><FONT class="Apple-style-span" face="Courier">= [];</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Courier">cfg.output </FONT><FONT class="Apple-style-span" face="Courier">      </FONT><FONT class="Apple-style-span" face="Courier">= </FONT><FONT class="Apple-style-span" color="#A020F0" face="Courier">'pow'</FONT><FONT class="Apple-style-span" face="Courier">;</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Courier">cfg.channel</FONT><FONT class="Apple-style-span" face="Courier">      </FONT><FONT class="Apple-style-span" face="Courier">= </FONT><FONT class="Apple-style-span" color="#A020F0" face="Courier">'all'</FONT><FONT class="Apple-style-span" face="Courier">;</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Courier">cfg.method </FONT><FONT class="Apple-style-span" face="Courier">      </FONT><FONT class="Apple-style-span" face="Courier">= </FONT><FONT class="Apple-style-span" color="#A020F0" face="Courier">'mtmconvol'</FONT><FONT class="Apple-style-span" face="Courier">;</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Courier">cfg.taper</FONT><FONT class="Apple-style-span" face="Courier">        </FONT><FONT class="Apple-style-span" face="Courier">= </FONT><FONT class="Apple-style-span" color="#A020F0" face="Courier">'hanning'</FONT><FONT class="Apple-style-span" face="Courier">;</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Courier">cfg.foi</FONT><FONT class="Apple-style-span" face="Courier">          </FONT><FONT class="Apple-style-span" face="Courier">= 5:1:40;</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Courier">cfg.t_ftimwin</FONT><FONT class="Apple-style-span" face="Courier">    </FONT><FONT class="Apple-style-span" face="Courier">= 4./cfg.foi;</FONT><FONT class="Apple-style-span" face="Courier">  </FONT><FONT class="Apple-style-span" color="#228B22" face="Courier">% 4 cycles per time window</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Courier">cfg.toi</FONT><FONT class="Apple-style-span" face="Courier">          </FONT><FONT class="Apple-style-span" face="Courier">= -0.5:0.05:2;</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Courier">cfg.keeptrials </FONT><FONT class="Apple-style-span" face="Courier">  </FONT><FONT class="Apple-style-span" face="Courier">= </FONT><FONT class="Apple-style-span" color="#A020F0" face="Courier">'yes'</FONT><FONT class="Apple-style-span" face="Courier">;</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; min-height: 14px; ">Thanks in advance for any help,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; min-height: 14px; "><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; min-height: 14px; "><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; min-height: 14px; ">Jeroen Geuze</DIV><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>  <A href="http://listserv.surfnet.nl/archives/fieldtrip.html">http://listserv.surfnet.nl/archives/fieldtrip.html</A></P><P>  <A href="http://www.ru.nl/fcdonders/fieldtrip/">http://www.ru.nl/fcdonders/fieldtrip/</A></P></BLOCKQUOTE></DIV><BR></DIV></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>