[Mne_analysis] KIT layout for plots

Yi-hui Hung vedahung1116 at gmail.com
Mon Nov 27 21:05:19 EST 2017
Search archives:

Thanks to Kevin's suggestion, using the following code solved the problem.

ica.plot_properties(epochs, i, topomap_args={'layout': kit_lay})


On Tue, Nov 28, 2017 at 8:51 AM, Yi-hui Hung <vedahung1116 at gmail.com> wrote:

> Hi Kevin,
>
> Thank you for the suggestions.
> Somehow, mne.sys_info() did not get the version information but
> mne.open_docs() did. I can confirm that I used MNE 0.15.
> Besides, the function ica.plot_components(layout=kit_lay) do allow me to
> plot plot the PCA components. However, the function
> ica.plot_properties(epochs, i) did not work.
>
> Veda
>
>
>
> On Mon, Nov 27, 2017 at 10:27 PM, Kevin Chun-Hsien Hsu <u7305020 at gmail.com
> > wrote:
>
>> Hi Veda,
>>
>> Which version of mne do you use? I am using mne 0.15.dev0. I can import
>> your CON file and plot ICA components estimated using your data. To check
>> the version of mne:
>>
>> import mne
>> mne.sys_info()
>>
>> If the output information describes earlier version of mne (<=0.14), try
>> updating mne to the latest version might helps.
>>
>> Best,
>> Kevin
>>
>>
>>
>>
>>
>> Message: 1
>>> Date: Mon, 27 Nov 2017 11:36:59 +0800
>>> From: Yi-hui Hung <vedahung1116 at gmail.com>
>>> Subject: [Mne_analysis] KIT layout for plots
>>> To: mne_analysis at nmr.mgh.harvard.edu
>>> Message-ID:
>>>         <CAA03Fj7RuZt4m8i53Pp+OBcn_zsadPLVuewW0shNz7nA+G93FA at mail.gm
>>> ail.com>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> Hi MNE experts,
>>>
>>> I used KIT system for MEG data recording.
>>> MEG data were imported to mne with two following functions:
>>> raw = mne.io.kit.read_raw_kit(file, stim = [200],preload=True)
>>> kit_lay = mne.channels.layout.read_layout('KIT-TW-157.lout')
>>>
>>> However,I had problems with two following functions:
>>>
>>> (1) ica.plot_properties(epochs, i)
>>>       error message: "the KIT system with ID 261 is missing"
>>>
>>> (2) mne.viz.plot_evoked_topo(evokeds, layout=kit_lay)
>>>      no error message but caused the program to crash
>>>
>>> Your suggestions will be appreciated. Thanks!
>>>
>>> Best,
>>> Veda
>>> -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attac
>>> hments/20171127/9411fd18/attachment-0001.html
>>>
>>> ------------------------------
>>>
>>> Message: 2
>>> Date: Sun, 26 Nov 2017 22:45:02 -0500
>>> From: JR KING <jeanremi.king at gmail.com>
>>> Subject: Re: [Mne_analysis] KIT layout for plots
>>> To: Discussion and support forum for the users of MNE Software
>>>         <mne_analysis at nmr.mgh.harvard.edu>
>>> Message-ID:
>>>         <CAOcgdcj-bSdB-efc8dULYCwD9TPYK-bAxkzvqWL8_1Vd-BZn7g at mail.gm
>>> ail.com>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> Hi
>>>
>>> For the first error, it is likely due to a KIT specificity issue. Can you
>>> open an issue in github, and upload a small chunk of your data so that
>>> one
>>> of us check it out (perhaps Teon, Eric or Christian? I'm on the road
>>> sorry.)
>>>
>>> Thanks
>>>
>>>
>>
>> _______________________________________________
>> 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.
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20171128/e187a4c6/attachment-0001.html 


More information about the Mne_analysis mailing list