mne.time_frequency.stftfreq

mne.time_frequency.stftfreq(wsize, sfreq=None)[source]

Compute frequencies of stft transformation.

Parameters
wsizeint

Size of stft window.

sfreqfloat

Sampling frequency. If None the frequencies are given between 0 and pi otherwise it’s given in Hz.

Returns
freqsarray

The positive frequencies returned by stft.

See also

stft
istft

Examples using mne.time_frequency.stftfreq