mne.pick_channels_cov#
- mne.pick_channels_cov(orig, include=[], exclude='bads', ordered=False, copy=True)[source]#
Pick channels from covariance matrix.
- Parameters:
- orig
Covariance
A covariance.
- include
list
ofstr
, (optional) List of channels to include (if empty, include all available).
- exclude
list
ofstr
, (optional) | ‘bads’ Channels to exclude (if empty, do not exclude any). Defaults to ‘bads’.
- ordered
bool
If True (default False), ensure that the order of the channels in the modified instance matches the order of
include
.New in version 0.20.0.
- copy
bool
If True (the default), return a copy of the covariance matrix with the modified channels. If False, channels are modified in-place.
New in version 0.20.0.
- orig
- Returns:
- res
dict
Covariance solution restricted to selected channels.
- res