<div dir="ltr"><a href="https://gist.github.com/mattjerhart/9377713">Here&#39;s a gist for that.  </a>Thanks!<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 5, 2014 at 1:44 PM, Denis-Alexander Engemann <span dir="ltr">&lt;<a href="mailto:denis.engemann@gmail.com" target="_blank">denis.engemann@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">Hi Matt, <div><br></div><div>could you share a snippet based on the sample data so we can reproduce the problem? </div>

<div>I&#39;ve recently used this function a lot for both hemispheres (after setting the sub-threshold vertices to zero).</div>

<div><br></div><div>Best,</div><div>Denis</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Wed, Mar 5, 2014 at 10:40 PM, Matt Erhart <span dir="ltr">&lt;<a href="mailto:mattjerhart@gmail.com" target="_blank">mattjerhart@gmail.com</a>&gt;</span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div></div>When I attempt to create a functional label using <a href="http://martinos.org/mne/stable/auto_examples/inverse/plot_label_from_stc.html#example-inverse-plot-label-from-stc-py" target="_blank">the example script</a> in the lh, it works well on my data. I am, however, having a lot of trouble getting the rh or both hemispheres to work. Specifically, when I specify &#39;rh&#39; or &#39;both&#39; for hemi, I get an empty result for <pre>



<span>func_labels</span><span>,</span> <span>_</span> <span>=</span> <a href="http://martinos.org/mne/stable/generated/mne.stc_to_label.html#mne.stc_to_label" target="_blank"><span>mne</span><span>.</span><span>stc_to_label</span></a><span>(</span><a href="http://martinos.org/mne/stable/generated/mne.SourceEstimate.html#mne.SourceEstimate" target="_blank"><span>stc_mean_label</span></a><span>,</span> <span>src</span><span>=</span><span>src</span><span>,</span> <span>smooth</span><span>=</span><span>5</span><span>,</span>
                                  <span>subjects_dir</span><span>=</span><span>subjects_dir</span><span>,</span> <span>connected</span><span>=</span><span>True</span><span>)</span></pre>

Do I have to do some function calls not in the example to get rh or both to work?<br><br></div>thanks,<br>Matt<br><br><br></div>
<br></div></div>_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" 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" 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>
</blockquote></div><br></div>