<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Mar 30, 2009, at 2:12 PM, Linnaea Stockall wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi again,<br><br>Every problem I solve just seems to bring me a new one in its stead.<br>I'm trying to use mne_compute_raw_inverse<br>Thanks to Matti &amp; Alex, I managed to solve the trigger line problem.<br>But now I'm getting the error:<br>Reading data Cannot process buffers of data type: 3<br><br>This seems to refer to data buffers in the raw EEG data (at least<br>that's the only reference to buffers I can find in the manual). I'm<br>not actually interested in EEG data. We recorded from a few reference<br>electrodes so we could use the data to remove eye blinks, but<br>otherwise we don't want to use the EEG channels at all. Is there some<br>way to tell mne_compute_raw_inverse to use MEG data only and ignore<br>any EEG buffers (just adding --megonly didn't work)? Or is there<br>something I have to do convert the 3-byte buffers to 4? The EEG<br>channels were recorded by the CTF system, and bundled with the MEG<br>data.<br><br>Thanks to anyone who has an idea of how to fix this.</div></blockquote><div><br></div><div>Hi Linnaea,</div><div><br></div><div>Data type 3 does not mean three bytes but rather 32-bit integers. The mne_compute_raw_inverse in the new MNE 2.6 handles 32-bit data. If you wan to continue using the MNE version 2.5.2 you can convert the CTF data to floats (and maybe downsample):</div><div><br></div><div>mne_process_raw --raw &lt;orig> --projoff --save &lt;converted file></div><div><br></div><div>This also does the default 40-Hz lowpass. You can include --lowpass, --highpass, --filteroff, and --decim options as desired to control the output.</div><div><br></div><div>- Matti</div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; 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; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 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; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-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; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 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; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">-------------</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Matti Hamalainen, Ph.D.</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Athinoula A. Martinos Center for Biomedical Imaging</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Massachusetts General Hospital</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Building 149, 13th Street, Mailcode 149-2301</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Charlestown, MA 02129-2060</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">USA</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">e-mail<span class="Apple-converted-space">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span></span><a href="mailto:msh@nmr.mgh.harvard.edu">msh@nmr.mgh.harvard.edu</a></font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Tel<span class="Apple-converted-space">&nbsp;</span><span class="Apple-converted-space">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span></span>+1 617 726 0323</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">FAX<span class="Apple-converted-space">&nbsp;</span><span class="Apple-converted-space">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-converted-space">&nbsp;</span></span>+1 617 726 7422</font></p><br class="Apple-interchange-newline"></span></span></div></span><br class="Apple-interchange-newline"> </div><br></body></html>