bundles / scipy latest / scipy / signal / _lti_conversion / ss2zpk
function
scipy.signal._lti_conversion:ss2zpk
Signature
def ss2zpk ( A , B , C , D , input = 0 ) Summary
State-space representation to zero-pole-gain representation.
Extended Summary
A, B, C, D defines a linear state-space system with p inputs, q outputs, and n state variables.
Parameters
A: array_likeState (or system) matrix of shape
(n, n)B: array_likeInput matrix of shape
(n, p)C: array_likeOutput matrix of shape
(q, n)D: array_likeFeedthrough (or feedforward) matrix of shape
(q, p)input: int, optionalFor multiple-input systems, the index of the input to use.
Returns
z, p: sequenceZeros and poles.
k: floatSystem gain.
Notes
Array API Standard Support
ss2zpk has experimental support for Python Array API Standard compatible backends in addition to NumPy. Please consider testing these features by setting an environment variable SCIPY_ARRAY_API=1 and 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
dev-arrayapifor more information.
Aliases
-
scipy.signal.ss2zpk