{ } Raw JSON

bundles / scipy 1.17.1 / scipy / signal / _ltisys / StateSpaceContinuous

class

scipy.signal._ltisys:StateSpaceContinuous

source: /scipy/signal/_ltisys.py :1629

Signature

class   StateSpaceContinuous ( * system ** kwargs )

Members

Summary

Continuous-time Linear Time Invariant system in state-space form.

Extended Summary

Represents the system as the continuous-time, first order differential equation . Continuous-time StateSpace systems inherit additional functionality from the lti class.

Parameters

*system: arguments

The StateSpace class can be instantiated with 1 or 3 arguments. The following gives the number of input arguments and their interpretation:

Notes

Changing the value of properties that are not part of the StateSpace system representation (such as zeros or poles) is very inefficient and may lead to numerical inaccuracies. It is better to convert to the specific system representation first. For example, call sys = sys.to_zpk() before accessing/changing the zeros, poles or gain.

Examples

import numpy as np
from scipy import signal
a = np.array([[0, 1], [0, 0]])
b = np.array([[0], [1]])
c = np.array([[1, 0]])
d = np.array([[0]])
sys = signal.StateSpace(a, b, c, d)
print(sys)

See also

TransferFunction
ZerosPolesGain
lti
ss2tf
ss2zpk
zpk2sos

Aliases

  • scipy.signal._ltisys.StateSpaceContinuous