Butterworth filter order selection.
Return the order of the lowest order digital Butterworth filter that loses no more than gpass dB in the passband and has at least gstop dB attenuation in the stopband.
Parameters : | wp, ws : float
gpass : float
gstop : float
analog : int, optional
|
---|---|
Returns : | ord : int
wn : ndarray or float
|