mne.time_frequency.pick_channels_csd#
- mne.time_frequency.pick_channels_csd(csd, include=[], exclude=[], ordered=False, copy=True)[source]#
Pick channels from cross-spectral density matrix.
- Parameters:
- csdinstance of
CrossSpectralDensity
The CSD object to select the channels from.
- include
list
ofstr
List of channels to include (if empty, include all available).
- exclude
list
ofstr
Channels to exclude (if empty, do not exclude any).
- 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 CSD matrix with the modified channels. If False, channels are modified in-place.
New in version 0.20.0.
- csdinstance of
- Returns:
- resinstance of
CrossSpectralDensity
Cross-spectral density restricted to selected channels.
- resinstance of