[Mne_analysis] channels types

Burkhard Maess maess at cbs.mpg.de
Fri Oct 13 08:45:23 EDT 2017
Search archives:

Dear MNE experts,

it seems that the channel type 'ecg' was removed from the list of supported channel types for the ICA. 
Is this intended or an accident? Channel types 'eeg' and 'eog' are still supported. Here is the error message from a call of the ica.py function with data from MEG channels and the ECG channel.
thank you very much in advance for your help and best wishes,

Traceback (most recent call last):
  File "/nobackup/nigeria1/facialproc_task1/py/ica.py", line 93, in <module>
  File "/nobackup/nigeria1/facialproc_task1/py/ica.py", line 71, in main
    ica.fit(rawdata, picks = picks,flat = flat)
  File "<string>", line 2, in fit
  File "/scr/eber4/anthony/mne-python.mne-tools.github/mne/utils.py", line 728, in verbose
    return function(*args, **kwargs)
  File "/scr/eber4/anthony/mne-python.mne-tools.github/mne/preprocessing/ica.py", line 387, in fit
    _check_for_unsupported_ica_channels(picks, inst.info)
  File "/scr/eber4/anthony/mne-python.mne-tools.github/mne/preprocessing/ica.py", line 115, in _check_for_unsupported_ica_channels
    .format(types, chs))
ValueError: Invalid channel type(s) passed for ICA.
Only the following channels are supported ['mag', 'grad', 'eeg', 'seeg', 'ecog', 'hbo', 'hbr', 'eog']
Following types were passed ['ecg', 'grad', 'mag']

Dr. Burkhard Maess
Max Planck Institute for Human Cognitive and Brain Sciences
Stephanstr. 1a, P.O. Box 500355, D-04303 Leipzig
Aussenstelle Bennewitz, phone/fax: +493425 8875-2526/-2511   mail: maess 'at' cbs.mpg.de,           http://www.cbs.mpg.de

More information about the Mne_analysis mailing list