[Mne_analysis] plotting topomap for SSP projection
Chen, Yu-han
CHENY4 at email.chop.edu
Tue Apr 22 13:38:47 EDT 2014
Hi,
I'm trying to plot topoplot of EOG/ECG SSP projections but I got some error messages about the layout I used. Here is what I originally used:
layout = mne.layouts.read_layout('Vectorview-all')
mne.viz.plot_projs_topomap(EOGprojs, layout=layout)
The error message is:
RuntimeError: Cannot find a proper layout for projection planar-998--0.200-0.500-PCA-01
Then I tried something below and I still got the same error message:
raw_layout = mne.layouts.find_layout(raw.info<http://raw.info/>, ch_type = 'mag')
mne.viz.plot_projs_topomap(EOGprojs, layout=raw_layout)
I thought it was because the channel names in my data didn't have the space between MEG and the sensor number but I got the same error message after I change the layout channel name to be the same as my raw file. Is there any obvious mistake I made that causes this error message? My mne version is below:
Version 2.7.3
SVN revision 3268
Build date is Thu Jan 6 02:23:43 EST 2011
Thanks!
Yuhan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20140422/03810619/attachment.html
More information about the Mne_analysis
mailing list