<div dir="ltr"><div><div><div><div><div>Hi everyone,<br><br></div>I have a followup question regarding the group level contrast: Do I need to apply mne.label_sign_flip before averaging the activaitons across all subjects?<br><br></div>I used "fixed=False, loose=0.2" to get the inverse solution, then I defined "pick_ori="normal"" when applying the inverse solution to the evoked difference (evoked1 - evoked2) for each subject.<br><br></div>I'm wondering if I should flip the signs when averaging the activations across subjects.<br><br></div>Thanks for the help!<br><br></div>Lin<br><div><div><div><div><div><div><br><br></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 18, 2017 at 10:55 AM, Lyam Bailey <span dir="ltr"><<a href="mailto:Lyam.Bailey@dal.ca" target="_blank">Lyam.Bailey@dal.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div id="m_4918224747790170938divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>Thanks Andy!</p><span class="">
<p><br>
</p>
<div id="m_4918224747790170938Signature">
<div id="m_4918224747790170938divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif">
<p><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px">------------------------------<wbr>---------------------------</span></p>
<span style="color:rgb(0,0,0)"></span>
<p><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px">Lyam Bailey, BSc.</span><br>
<span style="color:rgb(0,0,0)"></span></p>
<span style="color:rgb(0,0,0)"></span>
<p></p>
<span style="color:rgb(0,0,0)"></span>
<div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:12.8px">
<span style="color:rgb(0,0,0)">Graduate Student</span></div>
<span style="color:rgb(0,0,0)"></span>
<div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:12.8px">
<span style="color:rgb(0,0,0)">Department of Psychology & Neuroscience</span></div>
<span style="color:rgb(0,0,0)"></span>
<div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:12.8px">
<span style="color:rgb(0,0,0)">Dalhousie University</span></div>
<br>
<p></p>
</div>
</div>
</span></div>
<hr style="display:inline-block;width:98%">
<div id="m_4918224747790170938divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> <a href="mailto:mne_analysis-bounces@nmr.mgh.harvard.edu" target="_blank">mne_analysis-bounces@nmr.mgh.<wbr>harvard.edu</a> <<a href="mailto:mne_analysis-bounces@nmr.mgh.harvard.edu" target="_blank">mne_analysis-bounces@nmr.mgh.<wbr>harvard.edu</a>> on behalf of Andrew R. Dykstra <<a href="mailto:andrew.dykstra@uni-heidelberg.de" target="_blank">andrew.dykstra@uni-<wbr>heidelberg.de</a>><br>
<b>Sent:</b> Monday, April 17, 2017 8:08:15 PM<div><div class="h5"><br>
<b>To:</b> Discussion and support forum for the users of MNE Software<br>
<b>Subject:</b> Re: [Mne_analysis] MNE source estimate analysis with multiple conditions</div></div></font>
<div> </div>
</div><div><div class="h5">
<div>
<p>Hi Lyam,</p>
<p><br>
</p>
<p>See here:</p>
<p><a class="m_4918224747790170938moz-txt-link-freetext" href="http://martinos.org/mne/dev/generated/mne.epochs.equalize_epoch_counts.html" target="_blank">http://martinos.org/mne/dev/<wbr>generated/mne.epochs.equalize_<wbr>epoch_counts.html</a><br>
</p>
<p><br>
</p>
<p>HTH,</p>
<p>Andy<br>
</p>
<br>
<div class="m_4918224747790170938moz-cite-prefix">On 2017-04-17 06:04 PM, Lyam Bailey wrote:<br>
</div>
<blockquote type="cite">
<div id="m_4918224747790170938divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>I suppose we could equalise the number of epochs per condition, in theory (although I'm not familiar with the best way to do this). Basically the unequal epoch numbers arose due to problems during data collection, whereby a few random trials were lost in
almost every subject. </p>
<p><br>
</p>
<p>Regards</p>
<p>Lyam</p>
<p><br>
</p>
<div id="m_4918224747790170938Signature">
<div id="m_4918224747790170938divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif">
<p><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px">------------------------------<wbr>---------------------------</span></p>
<span style="color:rgb(0,0,0)"></span>
<p><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px">Lyam Bailey, BSc.</span><br>
<span style="color:rgb(0,0,0)"></span></p>
<span style="color:rgb(0,0,0)"></span><span style="color:rgb(0,0,0)"></span>
<div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:12.8px">
<span style="color:rgb(0,0,0)">Graduate Student</span></div>
<span style="color:rgb(0,0,0)"></span>
<div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:12.8px">
<span style="color:rgb(0,0,0)">Department of Psychology & Neuroscience</span></div>
<span style="color:rgb(0,0,0)"></span>
<div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:12.8px">
<span style="color:rgb(0,0,0)">Dalhousie University</span></div>
<br>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_4918224747790170938divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b>
<a class="m_4918224747790170938moz-txt-link-abbreviated" href="mailto:mne_analysis-bounces@nmr.mgh.harvard.edu" target="_blank">
mne_analysis-bounces@nmr.mgh.<wbr>harvard.edu</a> <a class="m_4918224747790170938moz-txt-link-rfc2396E" href="mailto:mne_analysis-bounces@nmr.mgh.harvard.edu" target="_blank">
<mne_analysis-bounces@nmr.mgh.<wbr>harvard.edu></a> on behalf of Denis-Alexander Engemann
<a class="m_4918224747790170938moz-txt-link-rfc2396E" href="mailto:denis.engemann@gmail.com" target="_blank"><denis.engemann@gmail.com></a><br>
<b>Sent:</b> Monday, April 17, 2017 4:40:11 PM<br>
<b>To:</b> Discussion and support forum for the users of MNE Software<br>
<b>Subject:</b> Re: [Mne_analysis] MNE source estimate analysis with multiple conditions</font>
<div> </div>
</div>
<div>
<div dir="ltr">Does your experimental logic allow you to equalize the number of epochs per conditions or do you have some rare events by design?
<div><br>
</div>
<div>Denis</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Mon, Apr 17, 2017 at 11:30 AM Lyam Bailey <<a href="mailto:Lyam.Bailey@dal.ca" target="_blank">Lyam.Bailey@dal.ca</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_4918224747790170938m_-5066923205141018401divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt">Hi Alex,</span><br>
</p>
<div dir="ltr">
<div id="m_4918224747790170938m_-5066923205141018401x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif">
<p><br>
</p>
<p>Thanks for the tip! I'm glad you mentioned this because as it happens, I don't have the same number of epochs for each condition. Can you suggest a work around?</p>
</div>
</div>
</div>
</div>
<div dir="ltr">
<div id="m_4918224747790170938m_-5066923205141018401divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<div dir="ltr">
<div id="m_4918224747790170938m_-5066923205141018401x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif">
<p><br>
</p>
<p>Regards</p>
<p>Lyam</p>
<p><br>
</p>
<div id="m_4918224747790170938m_-5066923205141018401x_Signature">
<div id="m_4918224747790170938m_-5066923205141018401x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif">
<p><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px">------------------------------<wbr>---------------------------</span></p>
<span style="color:rgb(0,0,0)"></span>
<p><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px">Lyam Bailey, BSc.</span><br>
<span style="color:rgb(0,0,0)"></span></p>
<span style="color:rgb(0,0,0)"></span><span style="color:rgb(0,0,0)"></span>
<div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:12.8px">
<span style="color:rgb(0,0,0)">Graduate Student</span></div>
<span style="color:rgb(0,0,0)"></span>
<div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:12.8px">
<span style="color:rgb(0,0,0)">Department of Psychology & Neuroscience</span></div>
<span style="color:rgb(0,0,0)"></span>
<div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:12.8px">
<span style="color:rgb(0,0,0)">Dalhousie University</span></div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
<div dir="ltr">
<div id="m_4918224747790170938m_-5066923205141018401divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<div dir="ltr">
<div id="m_4918224747790170938m_-5066923205141018401x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif">
</div>
<hr style="display:inline-block;width:98%">
<div id="m_4918224747790170938m_-5066923205141018401x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b>
<a href="mailto:mne_analysis-bounces@nmr.mgh.harvard.edu" target="_blank">
mne_analysis-bounces@nmr.mgh.<wbr>harvard.edu</a> <<a href="mailto:mne_analysis-bounces@nmr.mgh.harvard.edu" target="_blank">mne_analysis-bounces@nmr.mgh.<wbr>harvard.edu</a>> on behalf of Alexandre Gramfort <<a href="mailto:alexandre.gramfort@telecom-paristech.fr" target="_blank">alexandre.gramfort@telecom-<wbr>paristech.fr</a>><br>
<b>Sent:</b> Tuesday, April 11, 2017 6:31:55 PM<br>
<b>To:</b> Discussion and support forum for the users of MNE Software</font></div>
</div>
</div>
</div>
<div dir="ltr">
<div id="m_4918224747790170938m_-5066923205141018401divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<div dir="ltr">
<div id="m_4918224747790170938m_-5066923205141018401x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><br>
<b>Subject:</b> Re: [Mne_analysis] MNE source estimate analysis with multiple conditions</font></div>
</div>
</div>
</div>
<div dir="ltr">
<div id="m_4918224747790170938m_-5066923205141018401divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<font size="2"><span style="font-size:10pt">
<div class="m_4918224747790170938m_-5066923205141018401PlainText">> This would be dSPM(a) - dSPM(b).<br>
<br>
tiny detail: this will only be true if the two conditions have the<br>
same number of epochs averaged in each condition.<br>
<br>
Alex<br>
______________________________<wbr>_________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.<wbr>edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" id="m_4918224747790170938m_-5066923205141018401LPlnk749859" target="_blank">https://mail.nmr.mgh.harvard.<wbr>edu/mailman/listinfo/mne_<wbr>analysis</a>
</div>
</span></font></div>
</div>
<div dir="ltr">
<div id="m_4918224747790170938m_-5066923205141018401divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<font size="2"><span style="font-size:10pt">
<div class="m_4918224747790170938m_-5066923205141018401PlainText">
<div id="m_4918224747790170938m_-5066923205141018401LPBorder_GT_14924429826910.4105799778579642" style="margin-bottom:20px;overflow:auto;width:100%;text-indent:0px">
<table id="m_4918224747790170938m_-5066923205141018401LPContainer_14924429826870.9361737841269389" style="width:90%;background-color:rgb(255,255,255);overflow:auto;padding-top:20px;padding-bottom:20px;margin-top:20px;border-top:1px dotted rgb(200,200,200);border-bottom:1px dotted rgb(200,200,200)" cellspacing="0">
<tbody>
<tr style="border-spacing:0px" valign="top">
<td id="m_4918224747790170938m_-5066923205141018401TextCell_14924429826890.7065882524870737" colspan="2" style="vertical-align:top;padding:0px;display:table-cell">
<div id="m_4918224747790170938m_-5066923205141018401LPRemovePreviewContainer_14924429826890.6785299980840764">
</div>
<div id="m_4918224747790170938m_-5066923205141018401LPTitle_14924429826890.23161200903591128">
<a id="m_4918224747790170938m_-5066923205141018401LPUrlAnchor_14924429826890.8864516220884002" href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" style="text-decoration:none" target="_blank">Mne_analysis Info Page - Harvard University</a></div>
<div id="m_4918224747790170938m_-5066923205141018401LPMetadata_14924429826900.7259236685040553">
<a href="http://mail.nmr.mgh.harvard.edu" target="_blank">mail.nmr.mgh.harvard.edu</a></div>
<div id="m_4918224747790170938m_-5066923205141018401LPDescription_14924429826900.6945669196255448">
Mne_analysis -- Discussion and support forum for the users of MNE Software About Mne_analysis</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</span></font></div>
</div>
<div dir="ltr">
<div id="m_4918224747790170938m_-5066923205141018401divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<font size="2"><span style="font-size:10pt">
<div class="m_4918224747790170938m_-5066923205141018401PlainText"><br>
<br>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" id="m_4918224747790170938m_-5066923205141018401LPlnk22004" target="_blank">http://www.partners.org/<wbr>complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
<br>
</div>
</span></font></div>
</div>
______________________________<wbr>_________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.<wbr>edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.<wbr>edu/mailman/listinfo/mne_<wbr>analysis</a><br>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" rel="noreferrer" target="_blank">http://www.partners.org/<wbr>complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
</blockquote>
</div>
</div>
</blockquote>
<br>
</div>
</div></div></div>
<br>______________________________<wbr>_________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.<wbr>edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.<wbr>edu/mailman/listinfo/mne_<wbr>analysis</a><br>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" rel="noreferrer" target="_blank">http://www.partners.org/<wbr>complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
<br></blockquote></div><br></div>