[Mne_analysis] stc.plot() Error: raise ValueError('time is not the same length as array.shape[1]')

Nakagawa Tristan T nakagawa-t at ifrec.osaka-u.ac.jp
Thu May 12 22:54:37 EDT 2016
Search archives:

Hi,

I get this error when trying to plot my source estimates:
stc.plot()  Error: raise ValueError('time is not the same length as
array.shape[1]')

however,
stc: <SourceEstimate  |  10629 vertices, subject : S23, tmin : -1100.0
(ms), tmax : 1000.0 (ms), tstep : 1.0 (ms), data size : 10629 x 2101>

In [93]:   stc.times.shape
Out[93]: (2101,)

In [94]:   stc.shape
Out[94]: (10629, 2101)

Here is one of the hemispheres stc:
https://www.dropbox.com/s/d3vvmy79gddvuev/grad_CS-lh.stc?dl=0

Any ideas?
I just installed mayavi 4.4.4 with vtk 7.0 on python3, not sure if that
might cause problems, but the error doesn't look like it.

Thanks,
Tristan

-- 
Tristan T. Nakagawa, Ph.D.
Laboratory for Brain-Immune Interaction,
iFReC, Osaka University 
3-1 Yamadaoka, Suita, Osaka, Japan
Tel: 0668789710
Office: CiNet R 2B6-2
http://seymourlab.com



More information about the Mne_analysis mailing list