test_long_ZPK_stability

wield.control.SISO.test.test_long_ZPK_stability

This is a pytest, but its test folder is missing. Some of the annotations of the tests may be missing. pytest-html report

Functions

chebcompanion2(c[, scale])

Return the scaled companion matrix of c.

gen_filt()

test_long_ZPK_stability_plot()

This is a test of the numerical stability of a very large ZPK filter that spans 18 orders of magnitude

test_long_cascade()

This is a demonstration showing the construction of a statespace using a Chechen companion matrix.

test_long_cheby()

This is a demonstration showing the construction of a statespace using a Chebychev companion matrix.

Details

chebcompanion2(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.

gen_filt()[source][github]
test_long_ZPK_stability_plot()[source][github]

This is a test of the numerical stability of a very large ZPK filter that spans 18 orders of magnitude

test_long_cascade()[source][github]

This is a demonstration showing the construction of a statespace using a Chechen companion matrix.

test_long_cheby()[source][github]

This is a demonstration showing the construction of a statespace using a Chebychev companion matrix.