[Mne_analysis] error with interpolate_bads

Sophie Herbst ksherbst at googlemail.com
Tue Feb 20 04:56:40 EST 2018
Search archives:

Dear list,
I am running into errors when trying to interpolate bad channels.
I have tried it on different versions of my M/EEG data, but the problem is
there from the raw import (data recorded at Neurospin). Running
interpolate_bads on freshly imported data (no maxfilter applied) gives the
errors below. Same after applying Maxfilter (and adding a bad MEG channel).

Any help would be greatly appreciated.
Best, Sophie

*Picking either meg, mag or grad:*
File
"/home/sh252228/.local/lib/python2.7/site-packages/numpy/core/einsumfunc.py",
line 710, in einsum_path
"not match previous terms.", char, tnum)

ValueError: ("Size of label '%s' for operand %d does not match previous
terms.", 'i', 1)

*Picking EEG:*
File
"/home/sh252228/.local/lib/python2.7/site-packages/scipy/optimize/cobyla.py",
line 252, in _minimize_cobyla
rhoend=rhoend, iprint=iprint, maxfun=maxfun,

UnboundLocalError: local variable 'iprint' referenced before assignment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180220/c49565d5/attachment-0001.html 


More information about the Mne_analysis mailing list