[Mne_analysis] plotting topomap for SSP projection

Alexandre Gramfort alexandre.gramfort at telecom-paristech.fr
Mon Apr 28 13:17:06 EDT 2014
Search archives:

hi,

at the end of the day, there was no bug if you use find_layout this way:

import mne
fname_raw = 'T110_raw_crop.fif'
raw = mne.fiff.Raw(fname_raw)
layout = mne.layouts.find_layout(raw.info)  #, ch_type='grad')
EOGprojs = mne.read_proj('T110_012413_face_loc_autobad9_tsss_mc_EOG_auto-proj.fif')
mne.viz.plot_projs_topomap(EOGprojs, layout=layout)

if you use :

layout = mne.layouts.find_layout(raw.info, ch_type='grad')

then it fails to display the mag topo as expected.

take home message use find_layout

Best,
Alex



More information about the Mne_analysis mailing list