Skip to content

Commit 8c6565b

Browse files
committed
update userguide examples (copyedits + additional narrative)
1 parent e8fe72b commit 8c6565b

6 files changed

Lines changed: 406 additions & 211 deletions

File tree

control/dtime.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ def sample_system(sysc, Ts, method='zoh', alpha=None, prewarp_frequency=None,
6363
Notes
6464
-----
6565
See `StateSpace.sample` or `TransferFunction.sample` for further
66-
details.
66+
details on implementation for state space and transfer function
67+
systems, including available methods.
6768
6869
Examples
6970
--------

control/stochsys.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,8 +468,8 @@ def create_estimator_iosystem(
468468

469469
# Set the output matrices
470470
if C is not None:
471-
# Make sure that we have the full system output
472-
if not np.array_equal(sys.C, np.eye(sys.nstates)):
471+
# Make sure we have full system output (allowing for numerical errors)
472+
if not np.allclose(sys.C, np.eye(sys.nstates)):
473473
raise ValueError("System output must be full state")
474474

475475
# Make sure that the output matches the size of RN

doc/examples/kalman-pvtol.ipynb

Lines changed: 30 additions & 17 deletions
Large diffs are not rendered by default.

examples/kincar-fusion.ipynb

Lines changed: 76 additions & 65 deletions
Large diffs are not rendered by default.

examples/mhe-pvtol.ipynb

Lines changed: 155 additions & 64 deletions
Large diffs are not rendered by default.

examples/pvtol-outputfbk.ipynb

Lines changed: 141 additions & 62 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)