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

Alexandre Gramfort alexandre.gramfort at inria.fr
Thu Sep 13 15:23:33 EDT 2018
Search archives:

        External Email - Use Caution        

Gladia,

can you open an issue at: https://github.com/mne-tools/mne-python/issues
and give us as much material as possible to replicate the pb?

thanks
Alex

On Thu, Sep 6, 2018 at 8:35 PM Gladia Hotan <gladiach at gmail.com> wrote:
>
>         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> 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, 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
>
> _______________________________________________
> 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.



More information about the Mne_analysis mailing list