[Mne_analysis] ica.plot_components - No digitization points found

Alexandre Gramfort alexandre.gramfort at telecom-paristech.fr
Sat Jul 23 07:51:53 EDT 2016
Search archives:

Hi nico,

can you share a file so I can have a look?

Alex

On Sat, Jul 23, 2016 at 1:13 PM, Nico Adelhöfer
<nico.adelhoefer at st.ovgu.de> wrote:
> Hello,
>
> I run into an error when trying to perform an ICA on my EEG data. The
> error says "No digitization points found." with this warning before:
> "Did not find any electrode locations the info, will attempt to use
> digitization points instead. However, if digitization points do not
> correspond to the EEG electrodes, this will lead to bad results.
> Please verify that the sensor locations in the plot are accurate."
> I can't figure out the problem. I created a montage instance like
> shown in the code below. It mostly follows the tutorial on artifact
> correction using ICA.
>
>
>
>
>
> fpath = 'EDFs/EDFs/'
> name = 'rem2'
> raw = mne.io.read_raw_fif(fpath+name, preload=True)
>
> montage =
> mne.channels.read_montage('standard_1020',ch_names=['F3','F4','C3','C4','O1','O2'])
> info = mne.create_info(['EMG l','EMG
> r','E1','E2','F3','F4','C3','C4','O1','O2'], 512, \
>
> ch_types=['misc','misc','eog','eog','eeg','eeg','eeg','eeg','eeg','eeg'],
> montage=montage)
>
> picks_eeg = mne.pick_types(info, meg=False, eeg=True, eog=False,
> stim=False, exclude='bads')
>
> n_components = 10
> method = 'fastica'
> decim = 3
>
> ica = ICA(n_components=n_components, method=method)
>
> reject = dict(mag=5e-12, grad=4000e-13)
> ica.fit(raw, picks=picks_eeg, decim=decim, reject=reject)
>
> ica.plot_components()
>
>
>
>
>
> I would greatly appreciate any help.
>
> Nico
>
> _______________________________________________
> 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