scipy 1.8.0 Pypi GitHub Homepage
Other Docs
NotesParameters

Represents the system as the continuous-time, first order differential equation $\dot{x} = A x + B u$ . Continuous-time StateSpace systems inherit additional functionality from the lti class.

Notes

Changing the value of properties that are not part of the StateSpace system representation (such as zeros or :None:None:`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.

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:

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

See Also

TransferFunction
ZerosPolesGain
lti
ss2tf
ss2zpk
zpk2sos

Examples

>>> 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) StateSpaceContinuous( array([[0, 1], [0, 0]]), array([[0], [1]]), array([[1, 0]]), array([[0]]), dt: None )
See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /scipy/signal/_ltisys.py#1631
type: <class 'type'>
Commit: