KIT layout for plots

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@
mail.gmail.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/
attachments/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.gmail.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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20171127/6701e148/attachment.html

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

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

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