SciPy

scipy.signal.TransferFunction.dt

TransferFunction.dt

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