scipy.signal.
normalize
Normalize polynomial representation of a transfer function.
If values of b are too close to 0, they are removed. In that case, a BadCoefficients warning is emitted.