[Neuroimaging] Seeking help in pysurfer installation

Valliappan C A spmanikam at gmail.com
Wed Feb 8 15:01:01 EST 2017


Hello
I'm facing a problem while executing this command "*brain =
stc_mean.plot(hemi='lh', subjects_dir=subjects_dir)*" of the code link
<http://martinos.org/mne/dev/auto_examples/inverse/plot_label_from_stc.html#example-inverse-plot-label-from-stc-py>
.
the error that is displayed is :




















*The time_unit parameter default will change from 'ms' to 's' in MNE 0.14.
To avoid this warning specify the parameter explicitly.__main__:1:
DeprecationWarning: The time_unit parameter default will change from 'ms'
to 's' in MNE 0.14. To avoid this warning specify the parameter
explicitly.Traceback (most recent call last):  File
"<ipython-input-28-79c2c651899e>", line 1, in <module>    brain =
stc_mean.plot(hemi='lh', subjects_dir=subjects_dir)  File
"/home/prr/my_project/mne-python/mne/source_estimate.py", line 1334, in
plot    time_unit=time_unit)  File
"/home/prr/my_project/mne-python/mne/viz/_3d.py", line 784, in
plot_source_estimates    config_opts=config_opts)  File
"/home/prr/miniconda2/lib/python2.7/site-packages/surfer/viz.py", line 459,
in __init__    brain = _Hemisphere(subject_id, **kwargs)  File
"/home/prr/miniconda2/lib/python2.7/site-packages/surfer/viz.py", line
2511, in __init__    **geo_kwargs)TypeError: surfacefactory() argument
after ** must be a mapping, not unicode*

I have installed pysurfer and its dependencies as in the document. Imported
all the packages once to cross-verify and it worked. but still I'm getting
a error  can some one help me with this .
-- 
*Valliappan.C.A*
*BITS PILANI K K BIRLA GOA CAMPUS*
*Contact: +91-8378988093*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20170209/e148b104/attachment.html>


More information about the Neuroimaging mailing list