[Mne_analysis] Loading the montage on mne-python

Alexandre Gramfort alexandre.gramfort at inria.fr
Sat Mar 21 08:50:00 EDT 2020
Search archives:

        External Email - Use Caution        

hi,

I gave you 2 links. The first one:

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

uses the stable 0.19.2 code.

Alex


On Sat, Mar 21, 2020 at 12:16 PM Francesco Mattioli <
francesco.mttl at gmail.com> wrote:

>         External Email - Use Caution
>
> Thank you for your help. The code you suggested is from another version of
> mne-python (0.20.dev0), I'm using 0.19.2. Do you suggest to upgrade the
> library to version 0.20.dev0?
> Regards,
> 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!
>
>>
> Il giorno gio 19 mar 2020 alle ore 11:55 Andrade Rey René <
> rene.andrade at edu.uah.es> ha scritto:
>
>>         External Email - Use Caution
>>
>> I think he will have the same problem as me with sfp for montage.
>>
>> Sent from my iPhone
>>
>> On 19 Mar 2020, at 09:50, Alexandre Gramfort <alexandre.gramfort at inria.fr>
>> wrote:
>>
>> 
>>
>>         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
>>
>> _______________________________________________
>> Mne_analysis mailing list
>> Mne_analysis at nmr.mgh.harvard.edu
>> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>>
>> _______________________________________________
>> Mne_analysis mailing list
>> Mne_analysis at nmr.mgh.harvard.edu
>> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
> _______________________________________________
> 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/20200321/2304bc7c/attachment-0001.html 


More information about the Mne_analysis mailing list