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,
Burkhard
Traceback (most recent call last):
File "/nobackup/nigeria1/facialproc_task1/py/ica.py", line 93, in <module>
main(sys.argv)
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']