{ } Raw JSON

bundles / scipy latest / scipy / signal / _fir_filter_design / kaiser_beta

function

scipy.signal._fir_filter_design:kaiser_beta

source: /scipy/signal/_fir_filter_design.py :38

Signature

def   kaiser_beta ( a )

Summary

Compute the Kaiser parameter beta, given the attenuation a.

Parameters

a : float

The desired attenuation in the stopband and maximum ripple in the passband, in dB. This should be a positive number.

Returns

beta : float

The beta parameter to be used in the formula for a Kaiser window.

Notes

Array API Standard Support

kaiser_beta is not in-scope for support of Python Array API Standard compatible backends other than NumPy.

See dev-arrayapi for more information.

Examples

Suppose we want to design a lowpass filter, with 65 dB attenuation in the stop band. The Kaiser window parameter to be used in the window method is computed by ``kaiser_beta(65)``:
from scipy.signal import kaiser_beta
kaiser_beta(65)

Aliases

  • scipy.signal.kaiser_beta

Referenced by