(no subject)

Dear MNEers,

When I ran plot_mne_inverse_coherence_epochs.py<http://martinos.org/mne/_downloads/plot_mne_inverse_coherence_epochs.py>,
I got the following errors:
Traceback (most recent call last):
  File "plot_mne_inverse_coherence_epochs.py", line 118, in <module>
    subjects_dir=subjects_dir)
  File
"/home/dongqunxi/mne/lib/python2.7/site-packages/mne-0.6.git-py2.7.egg/mne/source_estimate.py",
line 1188, in plot
    subjects_dir=subjects_dir)
  File
"/home/dongqunxi/mne/lib/python2.7/site-packages/mne-0.6.git-py2.7.egg/mne/viz.py",
line 988, in plot_source_estimates
    from surfer import Brain, TimeViewer
ImportError: No module named surfer

Can you give me some suggestions? Thank you!

Yours sincerely,
Qunxi Dong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20130420/6e0d784c/attachment.html

Dear Qunxi,

The visualization of source estimates ins MNE-Python depends on PySurfer.
Reading your traceback this looks like PySurfer is either not installed on your system or is not linked to your Python path.
Just make sure PySurfer is available on your system and everything should be fine.

For details and instructions see:
http://pysurfer.github.io
http://pysurfer.github.io/install.html

After installation you can easily check whether it has worked by hitting:

python -c "import surfer"

This should then pass silently, otherwise you will encounter an import error.

HTH,
Denis