Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/s/c/scipy-0.13.3/scipy/signal/cont2discrete.py   scipy(Download)
from scipy import linalg
 
from .ltisys import tf2ss, ss2tf, zpk2ss, ss2zpk
 
__all__ = ['cont2discrete']
        sysd = cont2discrete(tf2ss(sys[0], sys[1]), dt, method=method,
                             alpha=alpha)
        return ss2tf(sysd[0], sysd[1], sysd[2], sysd[3]) + (dt,)
    elif len(sys) == 3:
        sysd = cont2discrete(zpk2ss(sys[0], sys[1], sys[2]), dt, method=method,

src/s/c/scipy-HEAD/scipy/signal/cont2discrete.py   scipy(Download)
from scipy import linalg
 
from ltisys import tf2ss, ss2tf, zpk2ss, ss2zpk
 
__all__ = ['cont2discrete']
        sysd = cont2discrete(tf2ss(sys[0], sys[1]), dt, method=method,
                             alpha=alpha)
        return ss2tf(sysd[0], sysd[1], sysd[2], sysd[3]) + (dt,)
    elif len(sys) == 3:
        sysd = cont2discrete(zpk2ss(sys[0], sys[1], sys[2]), dt, method=method,