system
(system)
September 30, 2013, 1:04pm
1
Hi,
I am trying to plot some ecg SSP projections, but I'm not sure what i need
to do to pull it off.
the error I'm getting from mne.viz.plot_projs_topomap(projs,
layout=layouts) is
Cannot find a proper layout for projection planar-999--0.080-0.080-PCA-01
I'm making the layout with mne.layouts.read_layout('Vectorview-all'). I
think the problem is that the channel names in the layout have a space
where as the channel names in my projectors do not?
Is there a fix?
Thanks
Luke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20130930/c74f7132/attachment.html
system
(system)
September 30, 2013, 1:10pm
2
Thanks for reporting Luke,
I think the problem is that the channel names in the layout have a space
where as the channel names in my projectors do not?
Yes, this will be it, probably we missed considering this viz function
during a recent patch addressing this issue mentioned. I will look into it
now.
Cheers,
Denis
system
(system)
September 30, 2013, 1:31pm
3
Hi Luke I issued a pull request which should fix your issue:
https://github.com/mne-tools/mne-python/pull/782
I think it's good to go, but we can wait for your feedback before merging.
Best,
Denis
system
(system)
September 30, 2013, 2:35pm
4
Hi Luke,
meanwhile the fix has been merged and is available on the current dev
master branch; simply type:
$ git clone git://github.com/mne-tools/mne-python.git
and run python setup.py install from the repository or link the mne
directory in your site-packages like:
$ ln -s /mypath/mne-python/mne /my-site-packages-path/site-packages/mne
This has the advantage that you don't need to install each time you pull an
update.
Tip: if you want to know where your site-packages are located run the
following line from the command line:
$ python -c 'import site; print site.getsitepackages()'
In case you face any problem don't hesitate to report.
Best,
Denis