<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><p><span style="padding: 3px 10px; border-radius: 5px; color: #ffffff; font-weight: bold; display: inline-block; background-color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p></p>Hi Eric,<div class=""><br class=""></div><div class="">Thank you so much for your time and insight! I have been wondering about these things for some time. I’m sorry about the non-issue GitHub issue, but I’m glad that something productive is coming from it. I really appreciate your direction here and on GitHub. I’ll definitely look into trying all this tomorrow.</div><div class=""><br class=""></div><div class="">Corey<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jul 31, 2018, at 20:37, Eric Larson &lt;<a href="mailto:larson.eric.d@gmail.com" class="">larson.eric.d@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><p class=""><span style="padding: 3px 10px; border-radius: 5px; color: #ffffff; font-weight: bold; display: inline-block; background-color: #ff0000;" class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><div class=""><br class="webkit-block-placeholder"></div><div dir="ltr" class=""><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">if the float values in that array are current density</blockquote><div class=""><br class=""></div><div class="">They are currents (nAm) for method='MNE' and noise-normalized versions of these for other methods.</div><div class="">&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">what are the XYZ coordinates for each of the 8000+ vertices</blockquote><div class=""><br class=""></div><div class="">The `stc.vertices[0]` are the left-hemisphere vertex numbers of the high-resolution Freesurfer surfaces for the subject.</div><div class="">&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What we’re interested in is getting the xyz coordinates and current density data as well as lobe location, just like the sLORETA Viewer shows, in an automated way. Is there any way we can do this in MNE?<br class=""></blockquote><div class=""><br class=""></div><div class="">I have not used the sLORETA viewer so I can't comment on that, but yes it should be possible to get these values. You can load the surfaces with `rr_lh = mne.read_surface('subjects_dir/subject/surf/lh.white')[0]`, then your locations are `rr_lh[stc.vertices[0]]`. For the right hemisphere, load `rh.white` and use `rr_rh[stc.vertices[1]]`.</div><div class=""><br class=""></div><div class="">I see that you have opened an MNE-Python issue about this, too. Perhaps we should discuss there how to add a tutorial for the Freesurfer surfaces / source-space information to make it clear how to get these values.</div><div class=""><br class=""></div><div class="">Eric</div></div></div>
_______________________________________________<br class="">Mne_analysis mailing list<br class=""><a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" class="">Mne_analysis@nmr.mgh.harvard.edu</a><br class="">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis<br class=""><br class=""><br class="">The information in this e-mail is intended only for the person to whom it is<br class="">addressed. If you believe this e-mail was sent to you in error and the e-mail<br class="">contains patient information, please contact the Partners Compliance HelpLine at<br class="">http://www.partners.org/complianceline . If the e-mail was sent to you in error<br class="">but does not contain patient information, please contact the sender and properly<br class="">dispose of the e-mail.<br class=""></div></blockquote></div><br class=""></div></body></html>