[Mne_analysis] Loading the montage on mne-python

Alexandre Gramfort alexandre.gramfort at inria.fr
Thu Mar 19 04:49:33 EDT 2020
Search archives:

        External Email - Use Caution        

hi,

if you go this page at the bottom you'll see all examples that use this
dataset:

https://mne.tools/stable/generated/mne.datasets.eegbci.load_data.html

you'll see that one example makes topographies.

https://mne.tools/stable/auto_examples/decoding/plot_decoding_csp_eeg.html#sphx-glr-auto-examples-decoding-plot-decoding-csp-eeg-py

at the bottom you'll see it uses a layout. Now if you switch to current code
version it will use set_montage.

https://mne.tools/dev/auto_examples/decoding/plot_decoding_csp_eeg.html#sphx-glr-auto-examples-decoding-plot-decoding-csp-eeg-py

HTH
Alex


On Thu, Mar 19, 2020 at 9:37 AM Francesco Mattioli <francesco.mttl at gmail.com>
wrote:

>         External Email - Use Caution
>
> Hi, I'm running some tests with the EEGBCI
> <https://physionet.org/content/eegmmidb/1.0.0/> dataset
> <https://physionet.org/content/eegmmidb/1.0.0/>, the database format is
> EDF and I'm using version 0.19.2 of mne-python.
>
> I'm trying to make an ICA, the problem is that when I call the method:
> ica.plot_properties(raw, picks=[0, 1])
>
> I get this error back in the console:
> WARNING:root:Did not find any electrode locations (in the info object),
> 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 probably have to load the montage. How do I do that? I tried to look
> carefully at the documentation but I didn't reach a conclusion. Could
> someone help me?
> Thank you for your support,
>
> Francesco Mattioli
>
> I'm trying to work without distractions. If I do not respond immediately,
> drink a cup of tea and be patient. Great ideas need deep work!
>> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200319/9fcdae04/attachment-0001.html 


More information about the Mne_analysis mailing list