Mne_analysis Digest, Vol 99, Issue 33

Dear JR,

I am using mne Version 2.7.3. I also tried python command 'mne_kit2fiff.py'
which had 'from mne.io import read_raw_kit' at the beginning. But I
encountered the error saying that mayavi version was outdated. The error
detail is as follows.

[ISRWKAVW2269A:mne-python/mne/commands] Peng% python mne_kit2fiff.py

Traceback (most recent call last):

  File "mne_kit2fiff.py", line 72, in <module>

    run()

  File "mne_kit2fiff.py", line 48, in run

    mne.gui.kit2fiff()

  File
"/Users/Peng/Library/Python/2.7/lib/python/site-packages/mne-0.12.dev0-py2.7.egg/mne/gui/__init__.py",
line 107, in kit2fiff

    _check_mayavi_version()

  File
"/Users/Peng/Library/Python/2.7/lib/python/site-packages/mne-0.12.dev0-py2.7.egg/mne/utils.py",
line 832, in _check_mayavi_version

    raise RuntimeError("Need mayavi >= %s" % min_version)
RuntimeError: Need mayavi >= 4.3.0

I have downloaded mayavi-4.4.4 but have trouble making it work with python
mne. Do you have any idea how this problem should be solved?

Thank you very much!

Sincerely,
Peng

Hi Peng,

If you message me directly, we can sort out what's going wrong with the mne
kit2fiff for you. We can then update the listserv once we've come to a
solution. From briefly reading the discussion, I should note that the
mne.io.read_read_kit and the mne.gui.kit2fiff functions require that the
head shape and the marker file be in the original acquisition format, which
are text file typically typically. It's supported for Polhemus Fastscan,
but it should also be supported for other formats if they share the same
coordinate system.

Best,

teon