<div dir="ltr">Dear Elena and group<br>it basically depends on how much co-variability there is. if you use a large frequency range and a large strech of time you need to correct little if any. if you use averaged data and say from 50 to 120ms from target onset you need more regularization. I used 5% even for relatively short time interval (but large freq. range) and found it reasonable.<br>
yuval<br><div class="gmail_quote">On 31 May 2011 13:06, Elena Orekhova <span dir="ltr"><<a href="mailto:Elena.Orekhova@neuro.gu.se">Elena.Orekhova@neuro.gu.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="font-size: 12px; background-color: rgb(255, 255, 255); font-family: Verdana,Arial,sans-serif;" bgcolor="#ffffff">
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">Hi Michael,<div class="im"><br>
<br>
> If you run into rank-deficiency issue with the covariance matrix a tiny amount of regularization should fix this.<br>
<br></div>
What lambda you would recommend?<br>
<br>
Elena<br>
<br>
<br>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr>
<div style="direction: ltr;"><font color="#000000" size="2" face="Tahoma"><div class="im"><b>From:</b> <a href="mailto:fieldtrip-bounces@donders.ru.nl" target="_blank">fieldtrip-bounces@donders.ru.nl</a> [<a href="mailto:fieldtrip-bounces@donders.ru.nl" target="_blank">fieldtrip-bounces@donders.ru.nl</a>] on behalf of Michael Wibral [<a href="mailto:michael.wibral@web.de" target="_blank">michael.wibral@web.de</a>]<br>
</div><b>Sent:</b> Monday, May 30, 2011 5:58 PM<div class="im"><br>
<b>To:</b> Email discussion list for the FieldTrip project<br>
</div><b>Subject:</b> Re: [FieldTrip] SAM beamforming on Neuromag data<br>
</font><br>
</div><div><div></div><div class="h5">
<div></div>
<div><br>
Hi Elena,<br>
<br>
as far as I can see from the neuromeg discussion list and the maxfilter papers the properties of the components removed by the maxfilter do not require a leadfield update.<br>
If you run into rank-deficiency issue with the covariance matrix a tiny amount of regularization should fix this.<br>
(Note: If someone who reads this is of a different opinion, please let me know!)<br>
<br>
<br>
Michael<br>
<br>
<blockquote style="border-left: 2px solid blue; margin-left: 5px; padding-left: 5px; padding-top: 5px;">
<hr>
<b>Von:</b> "Elena Orekhova" <<a href="mailto:Elena.Orekhova@neuro.gu.se" target="_blank">Elena.Orekhova@neuro.gu.se</a>><br>
<b>Gesendet:</b> May 30, 2011 4:30:34 PM<br>
<b>An:</b> "Email discussion list for the FieldTrip project" <<a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a>><br>
<b>Betreff:</b> Re: [FieldTrip] SAM beamforming on Neuromag data<br>
<br>
<div style="font-size: 12px; background-color: rgb(255, 255, 255); font-family: Verdana,Arial,sans-serif;">
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">
Thank you for this.<br>
<br>
I have more concerns. I applied MaxFilter to the data. Since MaxFilter reduces the rank of the covariance matrix by removing noisy components, it may influence the beamformer results.<br>
Is it safe to do beamforming with MaxFiltered data?<br>
<br>
Elena<br>
<br>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr>
<div style="direction: ltr;"><font color="#000000" size="2" face="Tahoma"><b>From:</b> <a href="mailto:fieldtrip-bounces@donders.ru.nl" target="_blank">fieldtrip-bounces@donders.ru.nl</a> [<a href="mailto:fieldtrip-bounces@donders.ru.nl" target="_blank">fieldtrip-bounces@donders.ru.nl</a>] on behalf of Michael Wibral [<a href="mailto:michael.wibral@web.de" target="_blank">michael.wibral@web.de</a>]<br>
<b>Sent:</b> Monday, May 30, 2011 2:08 PM<br>
<b>To:</b> Email discussion list for the FieldTrip project<br>
<b>Subject:</b> Re: [FieldTrip] SAM beamformeing on Neuromag data</font><br>
</div>
<div> </div>
<div>Hi Elena,<br>
<br>
as far as I know, the leadfield computation should be aware of the different UNITS (not only scales) of gradiometers and magnetometers. There was a problem with the sign of the leadfields but that should have been fixed.<br>
<br>
There is one more fundamental problem however, that you should be aware of (doesn't invalidate your source analysis but bears potential for fine-tuning), which is the projection of noise:<br>
In beamforming the unit gain constraint guarantees that you get your source signal back with unit gain. Added on top however is neurophysiological crosstalk (minimized) and sensor noise of the sensors with the largest weights in your Beamformer (not reducible).
So different sensor types willhave different (inverse) leadfield strengths, theerfore also fiofefrent source noise levels. the relative benefits of each sensor type changes from location to location, so a location (and data) dependend weighting would in principle
be best.<br>
I am not sure if and how this is implemented if FT (Bayesian weighting would be optimal here..)<br>
<br>
What you could do as a first step is to beam separately and compare the results.<br>
<br>
Michael<br>
<br>
<br>
<blockquote style="border-left: 2px solid blue; margin-left: 5px; padding-left: 5px; padding-top: 5px;">
<hr>
<b>Von:</b> "Elena Orekhova" <<a href="mailto:Elena.Orekhova@neuro.gu.se" target="_blank">Elena.Orekhova@neuro.gu.se</a>><br>
<b>Gesendet:</b> May 30, 2011 1:08:29 PM<br>
<b>An:</b> "<a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a>" <<a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a>><br>
<b>Betreff:</b> [FieldTrip] SAM beamformeing on Neuromag data<br>
<br>
<div>
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">
@font-face { font-family: "\FF2D \FF33 \660E \671D "; }@font-face { font-family: "\FF2D \FF33 \660E \671D "; }@font-face { font-family: "Cambria"; }p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Cambria; }pre
{ margin: 0cm 0cm 0.0001pt; font-size: 10pt; font-family: Courier; }span.HTMLPreformattedChar { font-family: Courier; }.MsoChpDefault { font-family: Cambria; }div.WordSection1 { page: WordSection1; }@font-face { font-family: "\FF2D \FF33 \660E \671D "; }@font-face
{ font-family: "Cambria Math"; }@font-face { font-family: "Cambria"; }p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: Cambria; }pre { margin: 0cm 0cm 0.0001pt; font-size: 10pt; font-family: Courier; }span.HTMLPreformattedChar
{ font-family: Courier; }.MsoChpDefault { font-family: Cambria; }div.WordSection1 { page: WordSection1; }
<p class="MsoNormal">Dear All,</p>
<p class="MsoNormal">I try to run beamformer analysis on the auditory MEG data (Neuromag) and have basic questions.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">1.Magnetometers and gradiometers Neuromag sensors have different scales. Does the Fieldtrip take care of this difference or should I normalize the data?<span>
</span><span> </span>It yes, how to <span> </span>normalize?</p>
<p class="MsoNormal"> </p>
<pre><span style="font-size: 12pt; font-family: Cambria;">2. I would like to do SAM analysis<span> </span>of evoked field and look at the time courses at ROIs <span> </span>(virtual channels).<span> </span>The only tutorial example I have found was for the lcmv-beamformer
(cfg.method = 'lcmv'; <a href="http://fieldtrip.fcdonders.nl/example/lcmv-beamformer" target="_blank">http://fieldtrip.fcdonders.nl/example/lcmv-beamformer</a>). I am not sure
which parameters should I specify in <span style="color: black;">ft_sourceanalysis if </span>cfg.method = 'sam'.<span> </span></span>
</pre>
<pre><span style="font-size: 12pt; font-family: Cambria;"> </span></pre>
<pre><span style="font-size: 12pt; font-family: Cambria;">I would be most grateful for any example script of this type analysis!</span></pre>
<pre><span style="font-size: 12pt; font-family: Cambria;"> </span></pre>
<pre><span style="font-size: 12pt; font-family: Cambria;">Regards, </span></pre>
<pre><span style="font-size: 12pt; font-family: Cambria;">Elena</span></pre>
<p class="MsoNormal"> </p>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div></div></div>
</div>
</div>
<br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">sent from my 4-year-old PC. poor fellow, only ipod classic, no mail there.<br>
<br>Y.Harpaz<br><br>a link to the BIU MEG lab:<br><a href="http://faculty.biu.ac.il/%7Egoldsa/index.html" target="_blank">http://faculty.biu.ac.il/~goldsa/index.html</a><div><div><br></div><div><b>"Many were increasingly of the opinion that they'd all made a big
mistake in coming down from the trees in the first place. And some said
that even the trees had been a bad move, and that no one should ever
have left the oceans". <i>Douglas Adams</i><br></b></div></div><div style="padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;">
</div></div><br>
</div>