jax.scipy.signal.stft — JAX documentation (original) (raw)

jax.scipy.signal.stft#

jax.scipy.signal.stft(x, fs=1.0, window='hann', nperseg=256, noverlap=None, nfft=None, detrend=False, return_onesided=True, boundary='zeros', padded=True, axis=-1)[source]#

Compute the short-time Fourier transform (STFT).

JAX implementation of scipy.signal.stft().

Parameters:

Returns:

A length-3 tuple of arrays (f, t, Zxx). f is the Array of sample frequencies.t is the Array of segment times, and Zxx is the STFT of x.

Return type:

tuple[Array, Array, Array]