def kaiser_atten(numtaps, width):
    a = 2.285 * (numtaps - 1) * np.pi * width + 7.95
    return a
Compute the attenuation of a Kaiser FIR filter.
dataset/ETHPy150Open scipy/scipy/scipy/signal/fir_filter_design.py/kaiser_atten