mne.time_frequency.istft

mne.time_frequency.istft(X, tstep=None, Tx=None)[source]

ISTFT Inverse Short-Term Fourier Transform using a sine window.

Parameters
Xarray, shape (n_signals, wsize / 2 + 1, n_step)

The STFT coefficients for positive frequencies

tstepint

step between successive windows in samples (must be a multiple of 2, a divider of wsize and smaller than wsize/2) (default: wsize/2)

Txint

Length of returned signal. If None Tx = n_step * tstep

Returns
xarray, shape (Tx,)

vector containing the inverse STFT signal

See also

stft

Examples

x = istft(X) x = istft(X, tstep)