SciPy

scipy.signal.kaiserord

scipy.signal.kaiserord(ripple, width)[source]

Design a Kaiser window to limit ripple and width of transition region.

Parameters :

ripple : float

Positive number specifying maximum ripple in passband (dB) and minimum ripple in stopband.

width : float

Width of transition region (normalized so that 1 corresponds to pi radians / sample).

Returns :

numtaps : int

The length of the kaiser window.

beta : float

The beta parameter for the kaiser window.

Notes

There are several ways to obtain the Kaiser window:

  • signal.kaiser(numtaps, beta, sym=0)
  • signal.get_window(beta, numtaps)
  • signal.get_window(('kaiser', beta), numtaps)

The empirical equations discovered by Kaiser are used.

References

Oppenheim, Schafer, “Discrete-Time Signal Processing”, p.475-476.

Previous topic

scipy.signal.kaiser_beta

Next topic

scipy.signal.remez