<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>This doesn&#39;t make sense to me. Both the dipole and the single source volume source space should have the same lead field and should be trying to explain the same data. granted there is regularization in the dspm, but I&#39;m not sure why that would move the peaks around in time?<br></div></div></div></div></div></div></blockquote><div><br></div><div>To get to the bottom of this I would try <a href="https://martinos.org/mne/stable/generated/mne.simulation.simulate_evoked.html#mne.simulation.simulate_evoked" target="_blank">simulating evoked data</a>. First I&#39;d use a single source (discrete source space with a single point) activated with some pattern (<a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.hanning.html" target="_blank">Hann window</a>?) with no noise (nave=np.inf) and a <a href="https://martinos.org/mne/stable/generated/mne.make_ad_hoc_cov.html#mne.make_ad_hoc_cov" target="_blank">diagonal ad-hoc noise covariance</a> during `fit_dipole` and `make_inverse_operator` and repeat this analysis. Hopefully they all agree and give you back your activation. Then you could add noise with a realistic spatial pattern (e.g., from your real data baseline period) and see what happens. Hopefully this moves toward what you see with the real data. But testing through simulation should allow you to probe how each choice (covariance, regularization, noise sources, inverse, etc.) affect the results.</div><div><br></div><div>If you try it, let us know what you find! Eventually we could consider turning it into some sort of tutorial.</div><div><br></div><div>Eric</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div></div></div></div></div></div><div><br><br><div class="gmail_quote"><div><div class="m_4421970461652612552m_6797469457814227865h5"><div dir="ltr">On Thu, Feb 22, 2018 at 12:42 PM Eric Larson &lt;<a href="mailto:larson.eric.d@gmail.com" target="_blank">larson.eric.d@gmail.com</a>&gt; wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_4421970461652612552m_6797469457814227865h5"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">What
 I am trying to do is to fit auditory data by placing anatomically 
defined sources in left and right auditory cortex. The issue I&#39;m having 
is that the time courses aren&#39;t matching up with time courses generated 
using a similar approach in BESA. <br></div></blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Are you doing the equivalent computation in BESA, i.e. a minimum norm estimate with dSPM noise normalization, regularization parameter = 1. / 9., and so forth?</div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>More concerning, the time courses don&#39;t 
match what I get if I do a full cortical sheet source localization and 
extract the time courses from a functional label.<br></div></div></div></div></div></blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>If I understand your source space correctly -- that it is just a handful of dipoles (or one dipole) in left and right auditory cortices, or a similar small subset -- this is not too surprising to me (though I have never tried it). Minimum norm will try to account for all observed sensor data using activations in exactly the set of source points provided. So if you only provide auditory cortex sources in the source space, MNE will try to explain all sensor activity using only these sources. This means that if there is any activation outside of auditory cortex -- or even sensor or environmental noise -- it will show up in &quot;auditory cortex&quot; anyway (as it is the <i>only</i> place it can show up). If you have a full cortical source space on the other hand, activity from other areas can be accounted for by those other source points, and sensor/environmental noise sources can be distributed across other sources.</div><div><br></div><div>Thinking about the limiting case of only a few locations, activations in tiny source space might approach something like the time course of the global field power (although dSPM normalization might change this a bit).</div><div><br></div><div>There might be other things going on, too -- I&#39;m not sure how nicely the minimum norm and dSPM code behave if there are <i>fewer</i> source points than sensors, for example, though I&#39;d expect it to be okay -- but this is at least what first came to mind.</div><div><br></div><div>Eric</div><div><br></div></div></div></div></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.e<wbr>du</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.e<wbr>du/mailman/listinfo/mne_analys<wbr>is</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/compli<wbr>anceline</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></div>
<br>______________________________<wbr>_________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.e<wbr>du</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.e<wbr>du/mailman/listinfo/mne_analys<wbr>is</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/compli<wbr>anceline</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></div>