<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite">Dear Nathan and Nathan,<div><br></div><div>I'd like to add that I recently discovered some inconsistencies with respect to the units in which gradiometer positions/dipole positions etc. are expressed. </div><div>We are in the process of looking into this and making it consistent. For now you should ensure yourself that the gradiometer positions and grid locations and the mri-transformation matrix have the same units (which is meters in our 4D-system). Moreover, the singleshell method somewhere has a hard-coded assumption that the units are centimeters (which is the default units for CTF systems) so the solution might not be entirely correct if you use meters. </div><div><br></div><div>Yours,</div><div>Jan-Mathijs</div><div><br><div><div>On Aug 5, 2008, at 7:34 AM, Nathan Weisz wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>dear nathan,</div><div><br></div><div>we see nice mu desynchronizations nicely localized to motor cortex when subjects prepare responding to a target using a 4-D 2500 WH (the one with 148 sensors). </div><div>Have you already done localizations with your MEG system using a segmented brain? If not, then I suggest to check if you get the same results using a more 'standard' headmodel, e.g. multisphere (like in the tutorial). this assures you always are in the MEG-coordinate system, and have no weird mixture between coordinate systems. you need a headshape for that (pretty standard with 4D; i can provide you with one if you don't have one). also you might want to check if your volume / grid makes sense relative to the sensor position using 'headmodelplot'.</div><div><br></div><div>good luck,</div><div>yet-another-nathan</div><br><div><div>On 05.08.2008, at 02:45, Nathan Dees wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Dear Fieldtrippers,<br><br>Have been struggling a long time to produce a viable image of beamforming<br>analysis.   We are using a 4D-Magnes3600 Magnetometer MEG unit to record a<br>prompted finger tapping motor task with variable ISI of 2.5 - 3.0 seconds.<br>Our time-frequency plots  show evident beta and alpha<br>desynchronization at movement onset.  We are using the beamforming tutorial<br>as a guide.  After calculating dataPre and dataPost, and verifying our mri<br>has been properly segmented by SPM, our code is:<br><br>cfg = [];<br>cfg.method    = 'mtmfft';<br>cfg.output    = 'powandcsd';<br>cfg.tapsmofrq = 2;<br>cfg.foilim    = [18 20];<br>cfg.pad       = 0.5;<br>freqPre = freqanalysis(cfg,dataPre);<br><br>cfg = [];<br>cfg.method    = 'mtmfft';<br>cfg.output    = 'powandcsd';<br>cfg.tapsmofrq = 2;<br>cfg.foilim    = [18 20];segmentedmriF.transform = mri.transform;<br>segmentedmriF.anatomy   = mri.anatomy;<br>cfg.pad       = 0.5;<br>freqPost = freqanalysis(cfg,dataPost);<br><br>segmentedmri.transform = mri.transform;<br>segmentedmri.anatomy   = mri.anatomy;<br>[vol, cfg] = prepare_singleshell([], segmentedmri);<br><br>cfg                       = [];<br>cfg.grad                  = freqPre.grad;<br>cfg.vol                   = vol;<br>cfg.reducerank            = 2;<br>cfg.channel               = {'MEG'};<br>cfg.xgrid                 = -30:1:30;   % 'AUTO' does not work!<br>cfg.ygrid                 = -30:1:30;   % 'AUTO' does not work!<br>cfg.zgrid                 = -40:1:40;    % 'AUTO' does not work!<br>[grid]                    = prepare_leadfield(cfg);<br><br>cfg = [];<br>cfg.frequency    = 20; <br>cfg.method       = 'dics';<br>cfg.projectnoise = 'yes';<br>cfg.grid         = grid;<br>cfg.vol          = vol;<br>cfg.lambda       = 0;<br><br>sourcePre  = sourceanalysis(cfg,freqPre );<br>sourcePost = sourceanalysis(cfg,freqPost);<br><br>%Plot of deep sources in the center of the brain looks reasonable.<br><br>sourceDiff = sourcePost;<br>sourceDiff.avg.pow = (sourcePre.avg.pow - sourcePost.avg.pow) ./<br>sourcePost.avg.pow;<br>cfg = [];<br>cfg.downsample = 2;<br>sourceDiffInt = sourceinterpolate(cfg, sourceDiff , mri);<br><br>cfg = [];<br>cfg.method = 'slice';<br>cfg.funparameter = 'avg.pow';<br>cfg.maskparameter = cfg.funparameter;<br>cfg.funcolorlim = [0.0 .2];<br>cfg.opacitylim = [0.0 .2];<br>cfg.opacitymap = 'rampup'; <br>figure<br>sourceplot(cfg,sourceDiffInt);<br><br>We expect localization of desynchronization to be in the motor cortex,<br>predominantly on the left side.  The result we get is diffusely localized,<br>and with weak signal.  I have images to possibly help diagnose the problem,<br>but for now, can anyone spot the errors?<br><br>Thank you!!<br><br>----------------------------------<br>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. See also <a href="http://listserv.surfnet.nl/archives/fieldtrip.html">http://listserv.surfnet.nl/archives/fieldtrip.html</a> and <a href="http://www.ru.nl/fcdonders/fieldtrip">http://www.ru.nl/fcdonders/fieldtrip</a>.<br></div></blockquote></div><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; 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-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: 0px; "><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; 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-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: 0px; "><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; 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-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: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><b>--------------------------------------------</b></div><div><b>Attention: New Contact Details</b></div><div><b>--------------------------------------------</b></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; "><b style="font-size: 13px; font-weight: bold; ">Dr. Nathan Weisz</b></span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; "><br class="khtml-block-placeholder"></span></font></div><div><i>OBOB-Lab</i></div><div>University of Konstanz</div><div>Department of Psychology</div><div>P.O. Box D23</div><div>78457 Konstanz</div><div>Germany</div><div><br></div><div><b style="font-weight: bold; ">Tel</b>: ++49 - (0)7531 - 88 45 84</div><div><b style="font-weight: bold; ">Email:<span class="Apple-converted-space"> </span></b><a href="mailto:nathan.weisz@uni-konstanz.de">nathan.weisz@uni-konstanz.de</a></div><div><b style="font-weight: bold; ">Homepage</b>: coming soon</div><div><br></div><div>Bob-wisdom: It<span class="Apple-style-span" style="line-height: 17px; ">'s better to do one job well than two jobs... not so well.</span></div></div></div></span></div></span></div></span></div></span> </div><br><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></blockquote></div><br></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>