ss2zpk#
- scipy.signal.ss2zpk(A, B, C, D, input=0)[source]#
State-space representation to zero-pole-gain representation.
A, B, C, D defines a linear state-space system with p inputs, q outputs, and n state variables.
- Parameters:
- Aarray_like
State (or system) matrix of shape
(n, n)- Barray_like
Input matrix of shape
(n, p)- Carray_like
Output matrix of shape
(q, n)- Darray_like
Feedthrough (or feedforward) matrix of shape
(q, p)- inputint, optional
For multiple-input systems, the index of the input to use.
- Returns:
- z, psequence
Zeros and poles.
- kfloat
System gain.
Notes
Array API Standard Support
ss2zpkhas experimental support for Python Array API Standard compatible backends in addition to NumPy. Please consider testing these features by setting an environment variableSCIPY_ARRAY_API=1and providing CuPy, PyTorch, JAX, or Dask arrays as array arguments. The following combinations of backend and device (or other capability) are supported.Library
CPU
GPU
NumPy
✅
n/a
CuPy
n/a
⛔
PyTorch
⛔
⛔
JAX
⛔
⛔
Dask
⛔
n/a
See Support for the array API standard for more information.