mne.time_frequency.tfr_stockwell#

mne.time_frequency.tfr_stockwell(inst, fmin=None, fmax=None, n_fft=None, width=1.0, decim=1, return_itc=False, n_jobs=None, verbose=None)[source]#

Warning

LEGACY: New code should use .compute_tfr(method=”stockwell”, freqs=”auto”).

Compute Time-Frequency Representation (TFR) using Stockwell Transform.

Same computation as tfr_array_stockwell, but operates on Epochs objects instead of NumPy arrays.

See [1][2][3][4] for more information.

Parameters:
instEpochs | Evoked

The epochs or evoked object.

fminNone, float

The minimum frequency to include. If None defaults to the minimum fft frequency greater than zero.

fmaxNone, float

The maximum frequency to include. If None defaults to the maximum fft.

n_fftint | None

The length of the windows used for FFT. If None, it defaults to the next power of 2 larger than the signal length.

widthfloat

The width of the Gaussian window. If < 1, increased temporal resolution, if > 1, increased frequency resolution. Defaults to 1. (classical S-Transform).

decimint

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

return_itcbool

Return intertrial coherence (ITC) as well as averaged power.

n_jobsint

The number of jobs to run in parallel (over channels).

verbosebool | str | int | None

Control verbosity of the logging output. If None, use the default verbosity level. See the logging documentation and mne.verbose() for details. Should only be passed as a keyword argument.

Returns:
powerAverageTFR

The averaged power.

itcAverageTFR

The intertrial coherence. Only returned if return_itc is True.

Notes

New in v0.9.0.

References

Examples using mne.time_frequency.tfr_stockwell#

Time-frequency on simulated data (Multitaper vs. Morlet vs. Stockwell vs. Hilbert)

Time-frequency on simulated data (Multitaper vs. Morlet vs. Stockwell vs. Hilbert)