Skip to content

Commit 596e5ed

Browse files
committed
Add era example to doc
1 parent 20ab400 commit 596e5ed

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

doc/era_msd.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../examples/era_msd.py

doc/era_msd.rst

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
ERA example, mass spring damper system
2+
--------------------------------------
3+
4+
Code
5+
....
6+
.. literalinclude:: era_msd.py
7+
:language: python
8+
:linenos:
9+
10+
11+
Notes
12+
.....
13+
14+
1. The environment variable `PYCONTROL_TEST_EXAMPLES` is used for
15+
testing to turn off plotting of the outputs.0

doc/examples.rst

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ other sources.
3535
kincar-flatsys
3636
mrac_siso_mit
3737
mrac_siso_lyapunov
38+
era_msd
3839

3940
Jupyter notebooks
4041
=================

0 commit comments

Comments
 (0)