mne.time_frequency.csd_morlet(epochs, frequencies, tmin=None, tmax=None, picks=None, n_cycles=7, use_fft=True, decim=1, projs=None, n_jobs=1, verbose=None)[source]

Estimate cross-spectral density from epochs using Morlet wavelets.

epochs : instance of Epochs

The epochs to compute the CSD for.

frequencies : list of float

The frequencies of interest, in Hertz.

tmin : float | None

Minimum time instant to consider, in seconds. If None start at first sample.

tmax : float | None

Maximum time instant to consider, in seconds. If None end at last sample.

picks : list of str | None

The ch_names of the channels to use during CSD computation. Defaults to all good MEG/EEG channels.

n_cycles: float | list of float | None

Number of cycles to use when constructing Morlet wavelets. Fixed number or one per frequency. Defaults to 7.

use_fft : bool

Whether to use FFT-based convolution to compute the wavelet transform. Defaults to True.

decim : int | slice

To reduce memory usage, decimation factor during time-frequency decomposition. Defaults to 1 (no decimation).

If int, uses tfr[…, ::decim]. If slice, uses tfr[…, decim].

projs : list of Projection | None

List of projectors to store in the CSD object. Defaults to None, which means the projectors defined in the Epochs object will be copied.

n_jobs : int

Number of jobs to run in parallel. Defaults to 1.

verbose : bool | str | int | None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more).

csd : instance of CrossSpectralDensity

The computed cross-spectral density.