mne.time_frequency.
stft
(x, wsize, tstep=None, verbose=None)[source]¶STFT Short-Term Fourier Transform using a sine window.
The transformation is designed to be a tight frame that can be perfectly inverted. It only returns the positive frequencies.
Parameters: | x : 2d array of size n_signals x T
wsize : int
tstep : int
verbose : bool, str, int, or None
|
---|---|
Returns: | X : 3d array of shape [n_signals, wsize / 2 + 1, n_step]
|
Examples
X = stft(x, wsize) X = stft(x, wsize, tstep)