[Mne_analysis] Using fsaverage subject and a built-in EEG montage

Heinilä, Erkka erkka.heinila at jyu.fi
Fri Sep 7 03:58:58 EDT 2018
Search archives:

        External Email - Use Caution        

For me it was a library / installation issue; had all these issues in one installation, and none in the other. Had no time to pinpoint the problem, though.


-- Erkka

________________________________
From: mne_analysis-bounces at nmr.mgh.harvard.edu <mne_analysis-bounces at nmr.mgh.harvard.edu> on behalf of Gladia Hotan <gladiach at gmail.com>
Sent: Thursday, September 6, 2018 9:34:19 PM
To: Discussion and support forum for the users of MNE Software
Subject: Re: [Mne_analysis] Using fsaverage subject and a built-in EEG montage


        External Email - Use Caution

Hi,

I get the same error when running mne.viz.plot_alignment:

line 1765, in trait_set
    for name, value in traits.items():
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

There seems to be a problem with the 'traits' object handled by mayavi. Does anyone know how I can troubleshoot this?

Thanks and Best,
Gladia

On Thu, Sep 6, 2018 at 12:09 PM Gladia Hotan <gladiach at gmail.com<mailto:gladiach at gmail.com>> wrote:
Hi,

I'm trying to create a -trans file for the fsaverage subject with one of the built-in EEG montages.
Follow the instructions here<https://mail.nmr.mgh.harvard.edu/pipermail//mne_analysis/2017-November/004532.html>, I got numerous errors when running mne.gui.coregistration, including:

ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Exception occurred in traits notification handler for object: <mne.gui._viewer.PointObject object at 0x7fb227c451d0>, trait: scene, old value: <mayavi.tools.mlab_scene_model.MlabSceneModel object at 0x7fb227bb3110>, new value: <mayavi.tools.mlab_scene_model.MlabSceneModel object at 0x7fb22e4abbf0>

In the end it produces an MNE Coreg viewer window but the window's display is blank.

The function mne.create_default_subject() also didn't work for me, but I manually copied the files over and set up the bem model and source space using the command line.

Are there other steps I should take before running mne.gui.coregistration?

Thanks and Best,
Gladia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180907/f1b7197f/attachment.html 


More information about the Mne_analysis mailing list