SciPy

scipy.signal.StateSpace.dt

property StateSpace.dt

Return the sampling time of the system, None for lti systems.