mne.time_frequency.tfr_morlet

mne.time_frequency.tfr_morlet(inst, freqs, n_cycles, use_fft=False, return_itc=True, decim=1, n_jobs=1, picks=None, verbose=None)

Compute Time-Frequency Representation (TFR) using Morlet wavelets

Parameters:

inst : Epochs | Evoked

The epochs or evoked object.

freqs : ndarray, shape (n_freqs,)

The frequencies in Hz.

n_cycles : float | ndarray, shape (n_freqs,)

The number of cycles globally or for each frequency.

use_fft : bool

The fft based convolution or not.

return_itc : bool

Return intertrial coherence (ITC) as well as averaged power. Must be False for evoked data.

decim : int

The decimation factor on the time axis. To reduce memory usage.

n_jobs : int

The number of jobs to run in parallel.

picks : array-like of int | None

The indices of the channels to plot. If None all available channels are displayed.

verbose : bool, str, int, or None

If not None, override default verbose level (see mne.verbose).

Returns:

power : instance of AverageTFR

The averaged power.

itc : instance of AverageTFR

The intertrial coherence (ITC). Only returned if return_itc is True.