Estimate cross-spectral density from an array using short-time fourier.
The epochs to compute the CSD for.
Minimum frequency of interest, in Hertz.
Maximum frequency of interest, in Hertz.
Minimum time instant to consider, in seconds. If
None start at
Maximum time instant to consider, in seconds. If
None end at last
Channels to include. Slices and lists of integers will be interpreted as
channel indices. In lists, channel type strings (e.g.,
'eeg']) will pick channels of those types, channel name strings (e.g.,
['MEG0111', 'MEG2623'] will pick the given channels. Can also be the
string values “all” to pick all channels, or “data” to pick data
channels. None (default) will pick good data channels (excluding reference
MEG channels). Note that channels in
info['bads'] will be included if
their names or indices are explicitly provided.
Length of the FFT. If
None, the exact number of samples between
tmax will be used.
List of projectors to store in the CSD object. Defaults to
which means the projectors defined in the Epochs object will by copied.
The number of jobs to run in parallel. If
-1, it is set
to the number of CPU cores. Requires the
None (default) is a marker for ‘unset’ that will be interpreted
n_jobs=1 (sequential execution) unless the call is performed under
joblib.parallel_backend() context manager that sets another
The computed cross-spectral density.