<div dir="ltr">When you do `stc = read_source_estimate(...)`, it will automatically load both left and right hemisphere files. So passing in a `-lh.stc` filename will give the same SourceEstimate object as passing in a `-rh.stc` filename. You probably want to look at e.g. `stc.lh_data` or `stc.rh_data`.<div><br></div><div>Eric</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 23, 2015 at 8:02 AM, Scott Marek <span dir="ltr">&lt;<a href="mailto:smarek0502@gmail.com" target="_blank">smarek0502@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"><div dir="ltr"><div><div>Hi,<br><br></div>I am trying to do source projection for both right and left hemisphere dipoles, first without using a label file.<br><br>fname_inv = subjects_dir + &#39;/&#39; + s + &#39;/MEG/&#39; + s + &#39;_rest_fwd.fif-meg-inv.fif&#39;<br>inverse_operator = read_inverse_operator(fname_inv)<br><br>stc = apply_inverse_raw(raw,inverse_operator,lambda2,method=&#39;MNE&#39;,label=None,start=1,stop=None) <br><br><br></div><div>The issue I am having is that the left and right hemisphere stc files are equivalent. For example:<br>lch = mne.read_source_estimate(&#39;subject-compinvsoln-lh.stc&#39;) <br>rch = mne.read_source_estimate(&#39;subject-compinvsoln-rh.stc&#39;) <br>(lch.data == rch.data).all()<br></div><div><b>True</b>  (meaning the data is the same in left and right hemisphere stc files)<br></div><div><br><br></div>If I try to only apply a left hemisphere label file, I still get a left and right hemisphere stc file that are equivalent.<br><div><br>fname_inv = subjects_dir + &#39;/&#39; + s + &#39;/MEG/&#39; + s + &#39;_rest_fwd.fif-meg-inv.fif&#39;<br>inverse_operator = read_inverse_operator(fname_inv)<br>fname_label = subjects_dir + &#39;/&#39; + s + &#39;/label/lh.cortex.label&#39;<br>label = mne.read_label(fname_label)<br><br>stc = apply_inverse_raw(raw,inverse_operator,lambda2,method=&#39;MNE&#39;,label=fname_label,start=1,stop=None)<br><br></div><div>I must be missing something or doing something wrong, so any help with this issue would be greatly appreciated!<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>Scott <br></div></font></span></div>
<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>
<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/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>