SciPy

scipy.signal.TransferFunction.to_ss

TransferFunction.to_ss()[source]

Convert system representation to StateSpace.

Returns:
sys : instance of StateSpace

State space model of the current system