def kaiserord(ripple, width):
    A = abs(ripple)  # in case somebody is confused as to what's meant
    if A < 8:
        # Formula for N is not valid in this range.
        raise ValueError("Requested maximum ripple attentuation %f is too "
                         "small for the Kaiser formula." % A)
    beta = kaiser_beta(A)

    # Kaiser's formula (as given in Oppenheim and Schafer) is for the filter
    # order, so we have to add 1 to get the number of taps.
    numtaps = (A - 7.95) / 2.285 / (np.pi * width) + 1

    return int(ceil(numtaps)), beta
The local path where the system will be mounted.
dataset/ETHPy150Open scipy/scipy/scipy/signal/fir_filter_design.py/kaiserord--crossover with--dataset/ETHPy150Open spantaleev/sftpman/sftpman/model.py/EnvironmentModel.get_system_mount_dest