<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">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></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>