scipy.signal.ShortTimeFFT.dual_win#
- property ShortTimeFFT.dual_win#
Dual window (canonical dual window by default).
A STFT can be interpreted as the input signal being expressed as a weighted sum of modulated and time-shifted dual windows. If no dual window is given on instantiation, the canonical dual window, i.e., the window with the minimal energy (i.e., minimal L²-norm) is calculated. Alternative means for determining dual windows are provided by
closest_STFT_dual_windowand thefrom_win_equals_dualclass-method. Note thatwinis also always a dual window ofdual_win.dual_winhas same length aswin, namelym_numsamples.If the dual window cannot be calculated a
ValueErroris raised. This attribute is read only and calculated lazily. To make this array immutable, its WRITEABLE flag is set toFALSE.See also
m_numwinWindow function as real- or complex-valued 1d array.
from_win_equals_dualclosest_STFT_dual_windowCalculate dual window closest to a desired window.
numpy.ndarray.setflagsModify array flags.
ShortTimeFFTClass this property belongs to.