<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi Eve,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I have just tried to replicate this phenomenon with the latest version of FT and a neuromag306 file and am unable to do so. Please make sure you are using the most up-to-date version of FT and try the following with the relevant file:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>filename = 'yourfile.fif';</DIV><DIV>hdr = read_fcdc_header(filename);</DIV><DIV>sensortype(hdr.grad)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>and let me know if the output on the screen is "neuromag306" or not. One of the things you need to make sure is that you do not have magnetometers and gradiometers in your data structure at the same time.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Regards,</DIV><DIV>Christian</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><DIV><DIV>On 30 Mar 2007, at 09:21, alotof eve wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV>Sorry for sending so many emails. The error for combine channel is due to sensortype.m cannot get my neuromag data type. I checked the length(grad.label). It's 612, double of 306 which is supposed. How can I settle it?</DIV>  <DIV>Thanks in advance.</DIV>  <DIV> </DIV>  <DIV>Best,</DIV>  <DIV>Eve<BR><BR><B><I>alotof eve <<A href="mailto:alotof_xd@YAHOO.COM">alotof_xd@YAHOO.COM</A>></I></B> wrote:</DIV>  <BLOCKQUOTE class="replbq" style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Date: Thu, 29 Mar 2007 20:48:06 -0700<BR>From: alotof eve <<A href="mailto:alotof_xd@YAHOO.COM">alotof_xd@YAHOO.COM</A>><BR>Subject: [FIELDTRIP] problem on wavelet analysis, combine channel<BR>To: <A href="mailto:FIELDTRIP@NIC.SURFNET.NL">FIELDTRIP@NIC.SURFNET.NL</A><BR><BR>  <DIV>Dear experts,</DIV>  <DIV> </DIV>  <DIV>   I checked the script of freqanalysis_wltconvol and founf the default for output was 'powandcsd'. This output needs combine channels. My meuromag data seems has problem on something related "combine channels". </DIV>  <DIV>  It works when I change output as 'pow'. However, I wonder what might happen when using combining channels? I suppose it relates layout?</DIV>  <DIV>  Thanks for suggestion.</DIV>  <DIV> </DIV>  <DIV>Best,</DIV>  <DIV>Eve<BR><BR><B><I>alotof eve <<A href="mailto:alotof_xd@YAHOO.COM">alotof_xd@YAHOO.COM</A>></I></B> wrote:</DIV>  <BLOCKQUOTE class="replbq" style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Date: Thu, 29 Mar 2007 04:59:42 -0700<BR>From: alotof eve <<A href="mailto:alotof_xd@YAHOO.COM">alotof_xd@YAHOO.COM</A>><BR>Subject: [FIELDTRIP] problem on wavelet analysis<BR>To: <A href="mailto:FIELDTRIP@NIC.SURFNET.NL">FIELDTRIP@NIC.SURFNET.NL</A><BR><BR>  <DIV>Dear experts,</DIV>  <DIV> </DIV>  <DIV>Could you give me ome suggestion for wavelet analysis? These parameters are OK in EEG data I count using ohter software. I don't think it's different for MEG data but the error happened... </DIV>  <DIV> </DIV>  <DIV>>> cfg=[];<BR>>> cfg.sgn='MEG';<BR>>> cfg.method='wltconvol';<BR>>> cfg.width=3;<BR>>> cfg.foi=4:1:30;<BR>>> cfg.toi=-0.4:0.05:1.4;<BR>>> TFRwave_PA_A=freqanalysis(cfg, PA_A_fildata);<BR>??? Error using ==> zeros</DIV>  <DIV>Out of memory. Type HELP MEMORY for your options.</DIV>  <DIV>Error in ==> C:\MATLAB6p5\toolbox\fieldtrip-20070328\freqanalysis_wltconvol.m<BR>On line 234  ==>     if csdflg, crsspctrm = complex(zeros(numsgncmb,numfoi,numtoi)); end</DIV>  <DIV>Error in ==> C:\MATLAB6p5\toolbox\fieldtrip-20070328\freqanalysis.m<BR>On line 170  ==> [freq] = feval(sprintf('freqanalysis_%s',lower(cfg.method)), cfg, data);<BR></DIV>  <DIV>Any suggestions are appreciated.</DIV>  <DIV> </DIV>  <DIV>Best,</DIV>  <DIV>Eve</DIV>  <DIV>  <HR size="1">  <A href="http://us.rd.yahoo.com/evt=49981/*http://advision.webevents.yahoo.com/mailbeta/features_spam.html">Sucker-punch spam</A> with award-winning protection.<BR>Try the <A href="http://us.rd.yahoo.com/evt=49981/*http://advision.webevents.yahoo.com/mailbeta/features_spam.html">free Yahoo! Mail Beta.</A></DIV></BLOCKQUOTE><BR>  <DIV>  <HR size="1">  8:00? 8:25? 8:40? <A href="http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news">Find a flick</A> in no time<BR>with the<A href="http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news">Yahoo! Search movie showtime shortcut.</A></DIV></BLOCKQUOTE><BR><DIV>  <BR class="khtml-block-placeholder"></DIV><HR size="1">Now that's room service! <A href="http://travel.yahoo.com/hotelsearchpage;_ylc=X3oDMTFtaTIzNXVjBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzIEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw-- ">Choose from over 150,000 hotels <BR>in 45,000 destinations on Yahoo! Travel</A> to find your fit.</BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>----------------------------------------------------------------------</DIV><DIV>Christian Hesse, PhD, MIEEE</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">F.C. Donders Centre for Cognitive Neuroimaging </DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">P.O. Box 9101 </DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">NL-6500 HB Nijmegen </DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">The Netherlands</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Tel.: +31 (0)24 36 68293</DIV><DIV>Fax: +31 (0)24 36 10989</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Email: <A href="mailto:c.hesse@fcdonders.ru.nl">c.hesse@fcdonders.ru.nl</A></DIV><DIV>Web: <A href="http://www.fcdonders.ru.nl">www.fcdonders.ru.nl</A></DIV><DIV>----------------------------------------------------------------------</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "></SPAN><BR class="Apple-interchange-newline"></SPAN></SPAN></SPAN></SPAN></SPAN> </DIV><BR></DIV></BODY></HTML>