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_window
and thefrom_win_equals_dual
class-method. Note thatwin
is also always a dual window ofdual_win
.dual_win
has same length aswin
, namelym_num
samples.If the dual window cannot be calculated a
ValueError
is raised. This attribute is read only and calculated lazily. To make this array immutable, its WRITEABLE flag is set toFALSE
.See also
m_num
win
Window function as real- or complex-valued 1d array.
from_win_equals_dual
closest_STFT_dual_window
Calculate dual window closest to a desired window.
numpy.ndarray.setflags
Modify array flags.
ShortTimeFFT
Class this property belongs to.