[Mne_analysis] MNE coreg

Andrade Rey René rene.andrade at edu.uah.es
Sun Mar 15 11:46:53 EDT 2020
Search archives:

        External Email - Use Caution        

Failing…

>>> montage.save('/home/andraderenew/Downloads/EEG/montage.fif')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/andraderenew/.local/lib/python3.7/site-packages/mne/channels/montage.py", line 765, in save
    raise RuntimeError('Can only write out digitization points in '
RuntimeError: Can only write out digitization points in head coordinates.

On 15 Mar 2020, at 14:50, Alexandre Gramfort <alexandre.gramfort at inria.fr<mailto:alexandre.gramfort at inria.fr>> wrote:

       External Email - Use Caution

read the sfp as a DigMontage and save it to a fif file.

montage = mne.read_custom_montage(...)
montage.save('foobar.fif')

HTH
A

_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu<mailto:Mne_analysis at nmr.mgh.harvard.edu>
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200315/1935d08f/attachment.html 


More information about the Mne_analysis mailing list