This documentation is for development version 0.18.dev0.

mne.pick_channels_cov

mne.pick_channels_cov(orig, include=[], exclude='bads')[source]

Pick channels from covariance matrix.

Parameters:
orig : Covariance

A covariance.

include : list of string, (optional)

List of channels to include (if empty, include all available).

exclude : list of string, (optional) | ‘bads’

Channels to exclude (if empty, do not exclude any). Defaults to ‘bads’.

Returns:
res : dict

Covariance solution restricted to selected channels.