Skip to main content
`Ctrl`+`K`
scipy.signal.ShortTimeFFT.

# scipy.signal.ShortTimeFFT.dual_win

property ShortTimeFFT.dual_win

  Canonical dual window.

  A STFT can be interpreted as the input signal being expressed as a weighted sum of modulated and time-shifted dual windows. Note that for a given window there exist many dual windows. The canonical window is the one with the minimal energy (i.e., \(L_2\) norm).

  `dual_win` has same length as `win`, namely `m_num` samples.

  If the dual window cannot be calculated a `ValueError` is raised. This attribute is read only and calculated lazily.

  See also

  `dual_win`

    Canonical dual window.

  `m_num`

    Number of samples in window `win`.

  `win`

    Window function as real- or complex-valued 1d array.

  `ShortTimeFFT`

    Class this property belongs to.