<div dir="ltr">Hi Elena, <div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 21, 2015 at 12:29 PM, Elena Orekhova <span dir="ltr">&lt;<a href="mailto:orekhova.elena.v@gmail.com" target="_blank">orekhova.elena.v@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">



















<p style="margin:0cm;margin-bottom:.0001pt">Thank you Denis.</p>

<p style="margin:0cm;margin-bottom:.0001pt">So, just to be sure: </p>

<p style="margin:0cm;margin-bottom:.0001pt">the stc.lh_vertno gives a subset of
0-based indexes of the FS vertexes<span>  </span>used in the  inverse solution.</p>

<p style="margin:0cm;margin-bottom:.0001pt">Correct?</p><span class="HOEnZb"><font color="#888888">

<p style="margin:0cm;margin-bottom:.0001pt">Elena</p></font></span></div></blockquote><div><br></div><div><br></div><div>Yes, this is exactly the case. In your example it&#39;s the left hemisphere. This corresponds to the first entry in your soure space object, which is basically a list of length 2.</div><div>The first entry (0) generally refers to the left hemisphere, the second (1) entry to the right hemisphere.</div><div>Thanks for reminding me that this is among the things that need to be better documented.</div><div><br></div><div>Denis</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class="HOEnZb"><font color="#888888">

<p style="margin:0cm;margin-bottom:.0001pt"> </p>





</font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 21 August 2015 at 11:53, 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 Elena,<div><br></div><div>when dealing with vertices you need to distinguish between vertex ids or numbers and the indices that map to a subset of vertices.</div><div>For example, in the forward model or the inverse operator you will find, for each hemisphere the &#39;vertno&#39; field that includes a vector of the selected dipole locations as original freesurfer vertex numbers. However, accessing them is commonly achieved by indexing. In the MNE examples you will find many places where such indices are used, e.g. in <a href="http://martinos.org/mne/stable/auto_examples/stats/plot_cluster_stats_spatio_temporal.html#example-stats-plot-cluster-stats-spatio-temporal-py" target="_blank">http://martinos.org/mne/stable/auto_examples/stats/plot_cluster_stats_spatio_temporal.html#example-stats-plot-cluster-stats-spatio-temporal-py</a>, where you find this common expression: `fsave_vertices = [np.arange(10242), np.arange(10242)]`.</div><div>These indices are regular Python indices, hence, are zero-based.</div><div><br></div><div>I hope this helps.</div><div><br></div><div>Best,</div><div>Denis</div><div><br></div><div><br><div class="gmail_extra"><div class="gmail_quote"><div><div>On Fri, Aug 21, 2015 at 11:24 AM, Elena Orekhova <span dir="ltr">&lt;<a href="mailto:orekhova.elena.v@gmail.com" target="_blank">orekhova.elena.v@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><div dir="ltr">Dear mne/python experts,<br><br>



















<p style="margin:0cm;margin-bottom:.0001pt">Are the vertex numbers in the stc (assembled
with <span> </span>apply_inverse_epochs) 0-based or
1-based?</p>

<p style="margin:0cm;margin-bottom:.0001pt">Is the order of  <span></span>the stcs.vertices [Lh, Rh]? </p>

<p style="margin:0cm;margin-bottom:.0001pt">Sorry for asking, but it was not
explicitly stated in any documentation I found. </p><span><font color="#888888">

<p style="margin:0cm;margin-bottom:.0001pt"> </p>

<p style="margin:0cm;margin-bottom:.0001pt">Elena</p>

<p style="margin:0cm;margin-bottom:.0001pt"> </p>





<br></font></span></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" 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></div></div>
<br>_______________________________________________<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" 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>
</div></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></div>