SciPy

scipy.signal.StateSpace.gain

StateSpace.gain

Gain of the ZerosPolesGain system.