[Mne_analysis] help: can not install surfer package

Teon Brooks teon.brooks at gmail.com
Thu Nov 12 01:26:03 EST 2015
Search archives:

Hi Junpeng,

The package name for the surfer module is PySurfer, which may have caused
you errors when trying to install it. Have you tried the following command:

pip install pysurfer


HTH,

-teon

On Wed, Nov 11, 2015 at 9:27 PM, brainz <brainz at sina.com> wrote:

> Hi Experts,
>
> May I ask one question?
> When I tried the example code plot_mne_inverse_psi_visual.py,
> error happened as the following (the error info was highlighted).
> I also tried to install it  using the code "pip install surfer",
> but failed.
>
> Any responses are anticipated!
> Thank a lot.
>
> dongyuqing at dongyuqing-K46CB:~$ python plot_mne_inverse_psi_visual.py
>
> =====================================================================
> Compute Phase Slope Index (PSI) in source space for a visual stimulus
> =====================================================================
>
>
> This example demonstrates how the Phase Slope Index (PSI) [1] can be computed
> in source space based on single trial dSPM source estimates. In addition,
> the example shows advanced usage of the connectivity estimation routines
> by first extracting a label time course for each epoch and then combining
>
> the label time course with the single trial source estimates to compute the
> connectivity.
>
>
> The result clearly shows how the activity in the visual label precedes more
>
> widespread activity (a postivive PSI means the label time course is leading).
>
> References
> ----------
> [1] Nolte et al. "Robustly Estimating the Flow Direction of Information in
> Complex Physical Systems", Physical Review Letters, vol. 100, no. 23,
> pp. 1-4, Jun. 2008.
>
>
> /home/dongyuqing/anaconda/lib/python2.7/site-packages/mne/connectivity/spectral.py:835: UserWarning: fmin corresponds to less than 5 cycles, spectrum estimate will be unreliable
>   warn('fmin corresponds to less than 5 cycles, '
>
> /home/dongyuqing/anaconda/lib/python2.7/site-packages/mne/source_estimate.py:778: UserWarning: Performance can be improved by not accessing the data attribute before calling this method.
>   warnings.warn('Performance can be improved by not accessing '
> Traceback (most recent call last):
>   File "plot_mne_inverse_psi_visual.py", line 112, in <module>
>     clim=dict(kind='percent', pos_lims=(95, 97.5, 100)))
>
>   File "/home/dongyuqing/anaconda/lib/python2.7/site-packages/mne/source_estimate.py", line 1439, in plot
>     clim=clim)
>
>   File "/home/dongyuqing/anaconda/lib/python2.7/site-packages/mne/viz/_3d.py", line 512, in plot_source_estimates
>     from surfer import Brain, TimeViewer
> ImportError: No module named surfer
> dongyuqing at dongyuqing-K46CB:~$ pip install surfer
> Collecting surfer
>
>   Could not find a version that satisfies the requirement surfer (from versions: )
> No matching distribution found for surfer
>
>
> Best wishes,
> Junpeng Zhang
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> The information in this e-mail is intended only for the person to whom it
> is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20151112/81a8c9d9/attachment.html 


More information about the Mne_analysis mailing list