[Mne_analysis] channels types

Alexandre Gramfort alexandre.gramfort at inria.fr
Sat Oct 14 02:37:35 EDT 2017
Search archives:

Hi Burkhard,

yes we removed it as it seemed like a bug. In your experience it helps
with MEG or EEG data?

Best,
Alex

On Fri, Oct 13, 2017 at 2:45 PM, Burkhard Maess <maess at cbs.mpg.de> wrote:
> 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']
>
>
> --
> 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
> _______________________________________________
> 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