<div dir="ltr">Also, I think mne_analyze baseline corrects from -0.2 to 0 by default, which might not happen in the MATLAB code. This could introduce a vertical shift.<div><br></div><div>Eric</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 13, 2015 at 1:22 PM, dgw <span dir="ltr">&lt;<a href="mailto:dgwakeman@gmail.com" target="_blank">dgwakeman@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Cody,<br>
<br>
Can you tell us exactly how the numbers differ? : click on a point get<br>
the value in mne_analyze, then extract that same timepoint in matlab<br>
get the value, and tell us what the difference is (for a few points).<br>
Judging just from the y-axis is difficult.<br>
<br>
Thanks,<br>
d<br>
<br>
On Tue, Oct 13, 2015 at 1:11 PM, Cushing, Cody<br>
<div class="HOEnZb"><div class="h5">&lt;<a href="mailto:CCUSHING1@mgh.harvard.edu">CCUSHING1@mgh.harvard.edu</a>&gt; wrote:<br>
&gt; Hi Alex,<br>
&gt;<br>
&gt; So this strategy worked great, but it has caused me to run into a new problem that I wasn&#39;t sure if you&#39;d be able to help me with.  When I try to produce stc files then extract from label files made in mne_analyze from the data processed using the strategy below, the data appears to become shifted on the y-axis across my subjects.  The shape of the waveform itself is fine and is what is to be expected, but they are all shifted up or down on the y-axis (e.g. some start at -2, -6, 4, etc.).  This is not how they appear in mne_analyze and I am using dSPM values across the board, but when I extract the stc data from the label files in the matlab toolbox I encounter the problem. Thanks for any help.<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Cody<br>
&gt;<br>
&gt; ________________________________________<br>
&gt; From: <a href="mailto:mne_analysis-bounces@nmr.mgh.harvard.edu">mne_analysis-bounces@nmr.mgh.harvard.edu</a> [<a href="mailto:mne_analysis-bounces@nmr.mgh.harvard.edu">mne_analysis-bounces@nmr.mgh.harvard.edu</a>] on behalf of Alexandre Gramfort [<a href="mailto:alexandre.gramfort@telecom-paristech.fr">alexandre.gramfort@telecom-paristech.fr</a>]<br>
&gt; Sent: Tuesday, October 06, 2015 11:43 AM<br>
&gt; To: Discussion and support forum for the users of MNE Software<br>
&gt; Subject: Re: [Mne_analysis] Mne_analyze SNR estimate<br>
&gt;<br>
&gt; hi Cody,<br>
&gt;<br>
&gt; to me you hit a problem I have seen a few times that the stats of the<br>
&gt; baseline differs from the stats of the end of your epochs. As you<br>
&gt; estimate the noise cov from baseline it generates what you describe.<br>
&gt;<br>
&gt; A way around this I have seen working is to highpass the data and<br>
&gt; don&#39;t do any extra baselining. The difficulty here is that you might<br>
&gt; distort the ERP/ERF by highpass filtering.<br>
&gt;<br>
&gt; makes sense?<br>
&gt;<br>
&gt; Alex<br>
&gt;<br>
&gt; On Tue, Oct 6, 2015 at 4:18 PM, Cushing, Cody &lt;<a href="mailto:CCUSHING1@mgh.harvard.edu">CCUSHING1@mgh.harvard.edu</a>&gt; wrote:<br>
&gt;&gt; Hi all,<br>
&gt;&gt;<br>
&gt;&gt; This is likely a naive question, but I couldn&#39;t find much help for myself<br>
&gt;&gt; either in the manual or browsing the mne_analysis archives.  So, if I<br>
&gt;&gt; understand correctly, in mne_analyze, the SNR estimate display window shows<br>
&gt;&gt; what the data is expected to be with the red line and then shows the<br>
&gt;&gt; mismatch between the actual data and expected data with the green line (so<br>
&gt;&gt; the high amplitude difference between the green and red lines is bad yes?).<br>
&gt;&gt; Fairly unanimously, all of my subjects start off with both lines hugging<br>
&gt;&gt; each other pretty tight, but on some of my participants, the green line<br>
&gt;&gt; rises pretty sharply towards the end of the epoch.  My trial length is<br>
&gt;&gt; relatively long, but nothing absurd (about 1s).  My question is, what<br>
&gt;&gt; factors go in to computing this mismatch?  Is it something in the<br>
&gt;&gt; computation of the noise covariance matrix or the inverse solution that I<br>
&gt;&gt; can tweak parameters on to try and improve the apparent mismatch?  Or does<br>
&gt;&gt; this just represent subjects that aren&#39;t able to stay still and end up<br>
&gt;&gt; fidgeting or blinking or something towards the end of the trial?  Thanks for<br>
&gt;&gt; any help, and I am of course happy to supply any further info that would<br>
&gt;&gt; help answer my question.<br>
&gt;&gt;<br>
&gt;&gt; Cheers,<br>
&gt;&gt; Cody Cushing<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Mne_analysis mailing list<br>
&gt;&gt; <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a><br>
&gt;&gt; <a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; The information in this e-mail is intended only for the person to whom it is<br>
&gt;&gt; addressed. If you believe this e-mail was sent to you in error and the<br>
&gt;&gt; e-mail<br>
&gt;&gt; contains patient information, please contact the Partners Compliance<br>
&gt;&gt; HelpLine at<br>
&gt;&gt; <a href="http://www.partners.org/complianceline" rel="noreferrer" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in<br>
&gt;&gt; error<br>
&gt;&gt; but does not contain patient information, please contact the sender and<br>
&gt;&gt; properly<br>
&gt;&gt; dispose of the e-mail.<br>
&gt;&gt;<br>
&gt; _______________________________________________<br>
&gt; Mne_analysis mailing list<br>
&gt; <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a><br>
&gt; <a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Mne_analysis mailing list<br>
&gt; <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a><br>
&gt; <a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
<br>
_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
</div></div></blockquote></div><br></div>