scipy.signal.band_stop_obj¶
- scipy.signal.band_stop_obj(wp, ind, passb, stopb, gpass, gstop, type)[source]¶
Band Stop Objective Function for order minimization.
Returns the non-integer order for an analog band stop filter.
- Parameters
- wpscalar
Edge of passband passb.
- indint, {0, 1}
Index specifying which passb edge to vary (0 or 1).
- passbndarray
Two element sequence of fixed passband edges.
- stopbndarray
Two element sequence of fixed stopband edges.
- gstopfloat
Amount of attenuation in stopband in dB.
- gpassfloat
Amount of ripple in the passband in dB.
- type{‘butter’, ‘cheby’, ‘ellip’}
Type of filter.
- Returns
- nscalar
Filter order (possibly non-integer).