<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Thanks Alex,
<div class=""><br class="">
</div>
<div class="">Yes, I followed the MNE installation instructions. I’ll log the issue with mayavi.&nbsp;</div>
<div class=""><br class="">
</div>
<div class="">Cheers,<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Talitha Ford<br class="">
<br class="">
</div>
</div>
</div>
</div>
</div>
<div>
<div class="">On 12 Jun 2017, at 05:24, Alexandre Gramfort &lt;<a href="mailto:alexandre.gramfort@telecom-paristech.fr" class="">alexandre.gramfort@telecom-paristech.fr</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">hi&nbsp;<span style="font-size: 12.8px;" class="">Talitha,</span>
<div class=""><span style="font-size: 12.8px;" class=""><br class="">
</span></div>
<div class=""><span style="font-size: 12.8px;" class="">ok so it's a mayavi install problem and not a bug on the mne side.</span></div>
<div class=""><span style="font-size: 12.8px;" class=""><br class="">
</span></div>
<div class=""><span style="font-size: 12.8px;" class="">you should report this issue on the mayavi issue tracker:</span></div>
<div class=""><span style="font-size: 12.8px;" class=""><br class="">
</span></div>
<div class=""><font class=""><span style="font-size:12.8px" class=""><a href="https://github.com/enthought/mayavi/issues" class="">https://github.com/enthought/mayavi/issues</a></span></font><br class="">
</div>
<div class=""><font class=""><span style="font-size:12.8px" class=""><br class="">
</span></font></div>
<div class=""><font class=""><span style="font-size:12.8px" class="">I assume you followed the install instructions we provide:</span></font></div>
<div class=""><font class=""><span style="font-size:12.8px" class=""><br class="">
</span></font></div>
<div class=""><font class=""><span style="font-size:12.8px" class=""><a href="http://martinos.org/mne/dev/install_mne_python.html#install-a-python-interpreter-and-dependencies" class="">http://martinos.org/mne/dev/install_mne_python.html#install-a-python-interpreter-and-dependencies</a></span><br class="">
</font></div>
<div class=""><font class=""><span style="font-size:12.8px" class=""><br class="">
</span></font></div>
<div class=""><font class=""><span style="font-size:12.8px" class="">hope this helps</span></font></div>
<div class=""><font class=""><span style="font-size:12.8px" class=""><br class="">
</span></font></div>
<div class=""><font class=""><span style="font-size:12.8px" class="">Alex</span></font></div>
<div class=""><font class=""><span style="font-size:12.8px" class=""><br class="">
</span></font></div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Sun, Jun 11, 2017 at 10:47 AM, Talitha Ford <span dir="ltr" class="">
&lt;<a href="mailto:tcford@swin.edu.au" target="_blank" class="">tcford@swin.edu.au</a>&gt;</span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word" class="">Hi Alex,&nbsp;
<div class="">I can import lab fine, but mlab.test_mesh() opens the TVTK window and then freezes (with the Mac pinwheel). As before, hitting ctrl&#43;D displays the image in the TVTK window, but it’s not interactive at all. I hope that makes sense,</div>
<div class=""><br class="">
</div>
<div class="">Thanks,</div>
<div class="">
<div class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">
<div class="">
<div style="word-wrap:break-word" class="">Talitha<br class="">
<br class="">
</div>
<div class="">
<div class="h5">
<div style="word-wrap:break-word" class="">On 11 Jun 2017, at 17:21, Alexandre Gramfort &lt;<a href="mailto:alexandre.gramfort@telecom-paristech.fr" target="_blank" class="">alexandre.gramfort@telecom-<wbr class="">paristech.fr</a>&gt; wrote:</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="">
<div class="h5">
<div class=""><br class="m_9064457291918066820Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">hi Talitha,
<div class=""><br class="">
</div>
<div class="">can you just confirm that mayavi without mne works. You can test with</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">from mayavi import mlab</div>
<div class="">mlab.test_mesh()<br class="">
</div>
</div>
<div class=""><br class="">
</div>
<div class="">ALex</div>
<div class=""><br class="">
</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Sun, Jun 11, 2017 at 6:35 AM, Talitha Ford <span dir="ltr" class="">
&lt;<a href="mailto:tcford@swin.edu.au" target="_blank" class="">tcford@swin.edu.au</a>&gt;</span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word" class="">Hi Alex,
<div class="">Sorry for the delay. No, when I read in the source estimate that results from applying the inverse and attempt to plot it, the TVTK window opens but no image appears unless I ctrl&#43;D to exit ipython. Here are the lines of code I use:</div>
<span class=""><br class="">
</span><span class="">import&nbsp;mne<br class="">
from&nbsp;mne.source_estimate&nbsp;impor<wbr class="">t&nbsp;SourceEstimate<br class="">
</span><span class="">stc = mne.read_source_estimate('OB86<wbr class="">0_stand2_mne_dSPM_inv-lh.stc')<br class="">
</span><span class="">stc.plot(&quot;fsaverage&quot;)</span><span class=""><br class="">
<br class="">
</span>
<div class="">Thanks for your help,</div>
<div class=""><br class="">
<div class="">
<div style="word-wrap:break-word" class="">
<div style="word-wrap:break-word" class="">
<div class="">
<div style="word-wrap:break-word" class="">Talitha&nbsp;</div>
</div>
</div>
</div>
</div>
</div>
<div class="">
<div class="m_9064457291918066820h5"><br class="">
<div class="">
<div class="">On 6 Jun 2017, at 19:19, Alexandre Gramfort &lt;<a href="mailto:alexandre.gramfort@telecom-paristech.fr" target="_blank" class="">alexandre.gramfort@telecom-pa<wbr class="">ristech.fr</a>&gt; wrote:</div>
<br class="m_9064457291918066820m_-3709117089227510251Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">hi&nbsp;<span style="font-size:12.8px" class="">Talitha,</span>
<div class=""><span style="font-size:12.8px" class=""><br class="">
</span></div>
<div class=""><span style="font-size:12.8px" class="">does your mayavi setup works otherwise? can you do stc.plot with the output of dSPM/MNE apply_inverse?</span></div>
<div class=""><span style="font-size:12.8px" class="">In other words is it a mayavi/vtk problem or an mne/pysurfer problem?</span></div>
<div class=""><span style="font-size:12.8px" class=""><br class="">
</span></div>
<div class=""><span style="font-size:12.8px" class="">Alex</span></div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Tue, Jun 6, 2017 at 2:54 AM, Talitha Ford <span dir="ltr" class="">
&lt;<a href="mailto:tcford@swin.edu.au" target="_blank" class="">tcford@swin.edu.au</a>&gt;</span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="white" lang="EN-GB" link="#0563C1" vlink="#954F72" class="">
<div class="m_9064457291918066820m_-3709117089227510251m_5205675051517235788WordSection1">
<p class="MsoNormal"><span lang="EN-AU" class="">Dear list,<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-AU" class=""><u class=""></u>&nbsp;<u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-AU" class="">I am attempting to run the </span>
‘2 samples permutation test on source data with spatio-temporal clustering’ tutorial (<a href="https://martinos.org/mne/stable/auto_tutorials/plot_stats_cluster_spatio_temporal_2samp.html" target="_blank" class="">https://martinos.org/mne/stab<wbr class="">le/auto_tutorials/plot_stats_c<wbr class="">luster_spatio_temporal_2samp.h<wbr class="">tml</a>),
 but when I get to visualising the SourceEstimate object, a <span lang="EN-AU" class="">
TVTK window opens and freezes; no image appears and I am unable to close the window without terminating the iPython session. Also, stc.resample(50) throws an error ‘</span>ImportError: cannot import name sigtools’<u class=""></u><u class=""></u></p>
<p class="MsoNormal"><span lang="EN-AU" class=""><u class=""></u>&nbsp;<u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-AU" class="">I am running iPython version 2.7 from the Anaconda distribution, and have up-to-date mne, scipy, PySurfer,
</span>matplotlib, scikit-learn and mayavi packages. I am running the analysis on an iMac OS Sierra 10.12.5.<u class=""></u><u class=""></u></p>
<p class="MsoNormal"><u class=""></u>&nbsp;<u class=""></u></p>
<p class="MsoNormal">Can someone please point me in the right direction to overcome this?<u class=""></u><u class=""></u></p>
<p class="MsoNormal"><u class=""></u>&nbsp;<u class=""></u></p>
<p class="MsoNormal">Thank you,<u class=""></u><u class=""></u></p>
<p class="MsoNormal">Talitha<u class=""></u><u class=""></u></p>
<p class="MsoNormal"><u class=""></u>&nbsp;<u class=""></u></p>
<p class="MsoNormal"><span lang="EN-AU" class=""><u class=""></u>&nbsp;<u class=""></u></span></p>
</div>
</div>
<br class="">
______________________________<wbr class="">_________________<br class="">
Mne_analysis mailing list<br class="">
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank" class="">Mne_analysis@nmr.mgh.harvard.e<wbr class="">du</a><br class="">
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank" class="">https://mail.nmr.mgh.harvard.e<wbr class="">du/mailman/listinfo/mne_analys<wbr class="">is</a><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="">
<a href="http://www.partners.org/complianceline" rel="noreferrer" target="_blank" class="">http://www.partners.org/compli<wbr class="">anceline</a> . 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="">
<br class="">
</blockquote>
</div>
<br class="">
</div>
______________________________<wbr class="">_________________<br class="">
Mne_analysis mailing list<br class="">
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank" class="">Mne_analysis@nmr.mgh.harvard.e<wbr class="">du</a><br class="">
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" target="_blank" class="">https://mail.nmr.mgh.harvard.e<wbr class="">du/mailman/listinfo/mne_analys<wbr class="">is</a><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="">
<a href="http://www.partners.org/complianceline" target="_blank" class="">http://www.partners.org/compli<wbr class="">anceline</a> . 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>
</div>
<br class="">
</div>
</div>
</div>
<br class="">
______________________________<wbr class="">_________________<br class="">
Mne_analysis mailing list<br class="">
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank" class="">Mne_analysis@nmr.mgh.harvard.e<wbr class="">du</a><br class="">
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank" class="">https://mail.nmr.mgh.harvard.e<wbr class="">du/mailman/listinfo/mne_analys<wbr class="">is</a><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="">
<a href="http://www.partners.org/complianceline" rel="noreferrer" target="_blank" class="">http://www.partners.org/compli<wbr class="">anceline</a> . 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="">
<br class="">
</blockquote>
</div>
<br class="">
</div>
______________________________<wbr class="">_________________<br class="">
Mne_analysis mailing list<br class="">
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank" class="">Mne_analysis@nmr.mgh.harvard.<wbr class="">edu</a><br class="">
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" target="_blank" class="">https://mail.nmr.mgh.harvard.<wbr class="">edu/mailman/listinfo/mne_<wbr class="">analysis</a><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="">
<a href="http://www.partners.org/complianceline" target="_blank" class="">http://www.partners.org/<wbr class="">complianceline</a> . 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>
</div>
<br class="">
</div>
</div>
</div>
</div>
<br class="">
______________________________<wbr class="">_________________<br class="">
Mne_analysis mailing list<br class="">
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" class="">Mne_analysis@nmr.mgh.harvard.<wbr class="">edu</a><br class="">
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank" class="">https://mail.nmr.mgh.harvard.<wbr class="">edu/mailman/listinfo/mne_<wbr class="">analysis</a><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="">
<a href="http://www.partners.org/complianceline" rel="noreferrer" target="_blank" class="">http://www.partners.org/<wbr class="">complianceline</a> . 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="">
<br class="">
</blockquote>
</div>
<br class="">
</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>
</div>
<br class="">
</div>
</body>
</html>