mne.pick_channels_cov

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

Pick channels from covariance matrix.

Parameters
origCovariance

A covariance.

includelist of str, (optional)

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

excludelist of str, (optional) | ‘bads’

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

Returns
resdict

Covariance solution restricted to selected channels.