Skip to content

Commit 8297a28

Browse files
committed
update userguide examples (copyedits + additional narrative)
1 parent f96276d commit 8297a28

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
@@ -62,7 +62,8 @@ def sample_system(sysc, Ts, method='zoh', alpha=None, prewarp_frequency=None,
6262
Notes
6363
-----
6464
See `StateSpace.sample` or `TransferFunction.sample` for further
65-
details.
65+
details on implementation for state space and transfer function
66+
systems, including available methods.
6667
6768
Examples
6869
--------

control/stochsys.py

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

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

478478
# 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)