Plot SSP projections topographiesΒΆ

This example shows how to display topographies of SSP projection vectors. The projections used are the ones correcting for ECG artifacts.

../../_images/sphx_glr_plot_ssp_projs_topomaps_001.png
# Author: Alexandre Gramfort <alexandre.gramfort@telecom-paristech.fr>
#         Denis A. Engemann <denis.engemann@gmail.com>
#         Teon Brooks <teon.brooks@gmail.com>

# License: BSD (3-clause)

from mne import read_proj, read_evokeds
from mne.datasets import sample

print(__doc__)

data_path = sample.data_path()

ecg_fname = data_path + '/MEG/sample/sample_audvis_ecg_proj.fif'
ave_fname = data_path + '/MEG/sample/sample_audvis-ave.fif'

evoked = read_evokeds(ave_fname, condition='Left Auditory')
projs = read_proj(ecg_fname)
evoked.add_proj(projs)

evoked.plot_projs_topomap()

Total running time of the script: (0 minutes 6.858 seconds)

Download Python source code: plot_ssp_projs_topomaps.py