zpk_algorithms¶
wield.control.algorithms.statespace.dense.zpk_algorithms
Classes
alias of |
Functions
|
|
|
This is a construction of a ADBC statespace using a Chebychev companion matrix. |
|
Create a statespace from dictionaries of poles and zeros separated into real and imaginary parts orientation: Whether the A matrix is "upper" or "lower" triangular real Schur form |
|
Create a statespace from dictionaries of poles and zeros separated into real and imaginary parts orientation: Whether the A matrix is "upper" or "lower" triangular real Schur form |
|
|
|
Return the scaled companion matrix of c. |
|
|
|
|
|
|
|
|
|
|
|
Create a complex descriptor statespace from zpk. |
|
|
|
|
|
Adapter method to convert ZPK into statespace using the known methods |
|
Create a statespace from a cascade of ZPKs. |
|
Create a statespace from a cascade of ZPKs. |
|
Create a statespace from a cascade of ZPKs. |
Details
- ZPK2ss_cheby_companion(Zc, Zr, Pc, Pr, k, orientation='upper')[source][github]¶
This is a construction of a ADBC statespace using a Chebychev companion matrix.
- ZPKdict(zdict, pdict, k, convention='scipy', orientation='lower')[source][github]¶
Create a statespace from dictionaries of poles and zeros separated into real and imaginary parts orientation: Whether the A matrix is “upper” or “lower” triangular real Schur form
- ZPKdict_chainE(zdict, pdict, k, convention='scipy', orientation='lower')[source][github]¶
Create a statespace from dictionaries of poles and zeros separated into real and imaginary parts orientation: Whether the A matrix is “upper” or “lower” triangular real Schur form
- chebcompanion_scaled(c, scale=None)[source][github]¶
Return the scaled companion matrix of c.
The basis polynomials are scaled so that the companion matrix is symmetric when c is a Chebyshev basis polynomial. This provides better eigenvalue estimates than the unscaled case and for basis polynomials the eigenvalues are guaranteed to be real if numpy.linalg.eigvalsh is used to obtain them.
- Parameters:
c (array_like) – 1-D array of Chebyshev series coefficients ordered from low to high degree.
- Returns:
mat – Scaled companion matrix of dimensions (deg, deg).
- Return type:
ndarray
Notes
Added in version 1.7.0.
- ss2zp(A, B, C, D, E=None, idx_in=None, idx_out=None, Q_rank_cutoff=1e-15, Q_rank_cutoff_unstable=None, fmt='scipy', allow_MIMO=False)[source][github]¶
- ss2zpk(A, B, C, D, E=None, idx_in=None, idx_out=None, Q_rank_cutoff=1e-15, Q_rank_cutoff_unstable=None, F_match_Hz=None, fmt='scipy')[source][github]¶
- zpk2cDSS(z, p, k, rescale=None, mode='CCF')[source][github]¶
Create a complex descriptor statespace from zpk. The real part cane then be extracted.
NOT USED.
- zpk_rc(Zc=[], Zr=[], Pc=[], Pr=[], k=1, convention='scipy', orientation='lower', method='chain_poly')[source][github]¶
Adapter method to convert ZPK into statespace using the known methods
- zpkdict_cascade(zdict, pdict, k, convention='scipy', bad_sort=False)[github]¶
Create a statespace from a cascade of ZPKs.
This one is a bit simpler than the other one, and appears to work as well. And has the most simple sort