This documentation is for development version 0.18.dev0.

mne.time_frequency.pick_channels_csd

mne.time_frequency.pick_channels_csd(csd, include=[], exclude=[])[source]

Pick channels from covariance matrix.

Parameters:
csd : instance of CrossSpectralDensity

The CSD object to select the channels from.

include : list of string

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

exclude : list of string

Channels to exclude (if empty, do not exclude any).

Returns:
res : instance of CrossSpectralDensity

Cross-spectral density restricted to selected channels.