[Mne_analysis] (no subject)

Пилюгина Нина aphina_n at outlook.com
Wed Feb 20 09:35:14 EST 2019
Search archives:

        External Email - Use Caution        

Thank you, I will.

Until this issue will be solved, is there any other way to get event-related response for 1 MEG channel?
________________________________
От: mne_analysis-bounces at nmr.mgh.harvard.edu <mne_analysis-bounces at nmr.mgh.harvard.edu> от имени Eric Larson <larson.eric.d at gmail.com>
Отправлено: 20 февраля 2019 г. 21:27
Кому: Discussion and support forum for the users of MNE Software
Тема: Re: [Mne_analysis] (no subject)


        External Email - Use Caution

That is probably a bug, `vlines='auto'` should always work. We are probably not dealing with it properly for your data. Can you open an issue on GitHub? Also mention the `tmin` and `tmax` of your `evoked` instance, since it could matter.

Eric


On Wed, Feb 20, 2019 at 8:57 AM Пилюгина Нина <aphina_n at outlook.com<mailto:aphina_n at outlook.com>> wrote:

        External Email - Use Caution

Thank you, it's helped, but now I have another error with my data: vlines must be a list or tuple, not <class 'str'>

This is my code:
conditions = ['1', '2', '4']
evoked_dict = dict()
for condition in conditions:
    evoked_dict[condition] = mne.read_evokeds(fname, baseline=(None, 0), proj=True, condition=condition)
print(evoked_dict)

colors = dict(Left="Crimson", Right="CornFlowerBlue")

pick = evoked_dict['1'].ch_names.index('MEG0242')

mne.viz.plot_compare_evokeds(evoked_dict, picks=pick, colors=colors, vlines='auto', split_legend=True)

Seems problem with my data, because sample works. Is it something with epochs?
________________________________
От: mne_analysis-bounces at nmr.mgh.harvard.edu<mailto:mne_analysis-bounces at nmr.mgh.harvard.edu> <mne_analysis-bounces at nmr.mgh.harvard.edu<mailto:mne_analysis-bounces at nmr.mgh.harvard.edu>> от имени Victor Ferat <victor.ferat at fcbg.ch<mailto:victor.ferat at fcbg.ch>>
Отправлено: 20 февраля 2019 г. 20:48
Кому: Discussion and support forum for the users of MNE Software
Тема: Re: [Mne_analysis] (no subject)


        External Email - Use Caution

Hi,



I think that this error appears with matplotlib 3.0.1  which you’are currently using) (https://github.com/matplotlib/matplotlib/issues/12634 )

It has been fixed in 3.0.2

Try to upgrade matplotlib to 3.0.2 with the following command:

pip install --upgrade matplotlib





Best Regards,

Victor

From: mne_analysis-bounces at nmr.mgh.harvard.edu<mailto:mne_analysis-bounces at nmr.mgh.harvard.edu> <mne_analysis-bounces at nmr.mgh.harvard.edu<mailto:mne_analysis-bounces at nmr.mgh.harvard.edu>> On Behalf Of ???????? ????
Sent: mercredi 20 février 2019 13:22
To: Alexandre Gramfort <alexandre.gramfort at inria.fr<mailto:alexandre.gramfort at inria.fr>>; Discussion and support forum for the users of MNE Software <mne_analysis at nmr.mgh.harvard.edu<mailto:mne_analysis at nmr.mgh.harvard.edu>>
Subject: Re: [Mne_analysis] (no subject)



        External Email - Use Caution

Hello



Platform:      Windows-10-10.0.16299-SP0

Python:        3.6.7 |Anaconda, Inc.| (default, Oct 28 2018, 19:44:12) [MSC v.1915 64 bit (AMD64)]

Executable:    C:\Anaconda3\envs\mne\pythonw.exe

CPU:           Intel64 Family 6 Model 78 Stepping 3, GenuineIntel: 4 cores

Memory:        3.9 GB



mne:           0.16.2

numpy:         1.15.3 {blas=mkl_rt, lapack=mkl_rt}

scipy:         1.1.0

matplotlib:    3.0.1 {backend=module://ipykernel.pylab.backend_inline}



sklearn:       0.20.0

nibabel:       2.3.1

mayavi:        4.6.2 {qt_api=pyqt5}

pycuda:        Not found

skcuda:        Not found

pandas:        0.23.4

________________________________

От: mne_analysis-bounces at nmr.mgh.harvard.edu<mailto:mne_analysis-bounces at nmr.mgh.harvard.edu> <mne_analysis-bounces at nmr.mgh.harvard.edu<mailto:mne_analysis-bounces at nmr.mgh.harvard.edu>> от имени Alexandre Gramfort <alexandre.gramfort at inria.fr<mailto:alexandre.gramfort at inria.fr>>
Отправлено: 20 февраля 2019 г. 3:26
Кому: Discussion and support forum for the users of MNE Software
Тема: Re: [Mne_analysis] (no subject)



        External Email - Use Caution

hi,

please say what mne.sys_info() reports.

See:

https://martinos.org/mne/dev/generated/mne.sys_info.html

I suspect your version of matplotlib is too old or not properly installed.

Alex

_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu<mailto: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<mailto: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/20190220/bf158992/attachment-0001.html 


More information about the Mne_analysis mailing list