I am attempting to run the ?2 samples permutation test on source data with spatio-temporal clustering? tutorial (https://martinos.org/mne/stable/auto_tutorials/plot_stats_cluster_spatio_temporal_2samp.html), but when I get to visualising the SourceEstimate object, a 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 ?ImportError: cannot import name sigtools?
I am running iPython version 2.7 from the Anaconda distribution, and have up-to-date mne, scipy, PySurfer, matplotlib, scikit-learn and mayavi packages. I am running the analysis on an iMac OS Sierra 10.12.5.
Can someone please point me in the right direction to overcome this?
does your mayavi setup works otherwise? can you do stc.plot with the output
of dSPM/MNE apply_inverse?
In other words is it a mayavi/vtk problem or an mne/pysurfer problem?
Hi Alex,
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+D to exit ipython. Here are the lines of code I use:
import mne
from mne.source_estimate import SourceEstimate
stc = mne.read_source_estimate('OB860_stand2_mne_dSPM_inv-lh.stc')
stc.plot("fsaverage")
Hi Alex,
I can import lab fine, but mlab.test_mesh() opens the TVTK window and then freezes (with the Mac pinwheel). As before, hitting ctrl+D displays the image in the TVTK window, but it?s not interactive at all. I hope that makes sense,