mne.time_frequency.istft

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

ISTFT Inverse Short-Term Fourier Transform using a sine window

Parameters:

X : 3d array of shape [n_signals, wsize / 2 + 1, n_step]

The STFT coefficients for positive frequencies

tstep : int

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

Tx : int

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

Returns:

x : 1d array of length Tx

vector containing the inverse STFT signal

See also

stft

Examples

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