10000 Add sphinx doc by KybernetikJo · Pull Request #202 · python-control/Slycot · GitHub
[go: up one dir, main page]

Skip to content

Add sphinx doc #202

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
a99afe1
DOC: Add sphinx doc, initial commit
KybernetikJo Jul 26, 2023
d0a0d2d
DOC: Add examples
KybernetikJo Jul 26, 2023
224221e
Update gitignore
KybernetikJo Jul 26, 2023
c764077
DOC: Add slicot and slycot inspection
KybernetikJo Jul 26, 2023
4045036
Update inspection notebooks
KybernetikJo Aug 8, 2023
8427bc0
Update development info
KybernetikJo Aug 8, 2023
0727127
Improve inspection notebooks, Minor update of docs
KybernetikJo Aug 8, 2023
a4d302b
Remove SLICOT help html files from _static, add link to online SLICOT…
KybernetikJo Aug 9, 2023
0450153
Update outer and inner function reference
KybernetikJo Aug 9, 2023
90e328f
Update inpect_notebooks, Update create names for Slycot reference.
KybernetikJo Aug 17, 2023
d7f56e6
Update inpection notebooks
KybernetikJo Aug 18, 2023
61ed3d2
Add code to get info of release and version from git tags
KybernetikJo Aug 25, 2023
501e5e5
Update doc/source to add new routines
KybernetikJo Aug 25, 2023
6e67460
Add check_names, checks if all routines are added in sphinx help
KybernetikJo Aug 26, 2023
b6b4579
Add ag08bd, add sb10yd to help
KybernetikJo Aug 26, 2023
62696c4
Add new routines to sphinx doc
KybernetikJo Jan 9, 2024
c542a90
Pump sphinx doc requirements
KybernetikJo Jan 9, 2024
ec834fc
Update slycot inpect notebooks
KybernetikJo Jan 9, 2024
c08b251
Automate update of year in copyright
KybernetikJo Jan 9, 2024
7bd444d
Change doc organization to diataxis approach
KybernetikJo Jan 18, 2024
d850266
Add sphinx-copybutton
KybernetikJo Jan 19, 2024
e5765c7
Update venn diagramm in inpect notebooks
KybernetikJo Apr 4, 2024
9b6b178
Update ho-to-guides examples
KybernetikJo Apr 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update ho-to-guides examples
  • Loading branch information
KybernetikJo committed Apr 6, 2024
commit 9b6b178f743ae60de66e03aa543c91a74e025990
28 changes: 19 additions & 9 deletions doc/source/guides/ab13dd_nb.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@
"source": [
"# ab13dd Example\n",
"\n",
"Johannes Kaisinger, 26 July 2023"
"Johannes Kaisinger, 26 July 2023\n",
"\n",
"The `ab13dd` calculates the L-infinity norm of a state space system.\n",
"For a stable system it is equal to the H-infintiy norm."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Create data"
]
},
{
Expand Down Expand Up @@ -89,16 +99,16 @@
" \"\"\"naive implementation of bisection algorithm for H-infinity norm\n",
"\n",
" Args:\n",
" A (_type_): _description_\n",
" B (_type_): _description_\n",
" C (_type_): _description_\n",
" D (_type_): _description_\n",
" gam_l (_type_): _description_\n",
" gam_h (_type_): _description_\n",
" emin (_type_): _description_\n",
" A (_type_): system matrix\n",
" B (_type_): input matrix\n",
" C (_type_): output matrix\n",
" D (_type_): feedthrough matrix\n",
" gam_l (_type_): low bound for norm\n",
" gam_h (_type_): upper bound for norm\n",
" emin (_type_): min difference between gam_l and gam_h\n",
"\n",
" Returns:\n",
" _type_: _description_\n",
" float: norm\n",
" \"\"\"\n",
" gam_last_stable = None\n",
" while (gam_h - gam_l) > emin:\n",
Expand Down
12 changes: 12 additions & 0 deletions doc/source/guides/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
:orphan:

Examples
========

The following notebooks show some use cases for Slycot.

.. toctree::
:maxdepth: 1

system_norms
sysid
227 changes: 227 additions & 0 deletions doc/source/guides/sy10yd_nb.ipynb

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions doc/source/guides/sysid.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

:orphan:

System identification
=====================

.. toctree::
:maxdepth: 1

sy10yd_nb
2 changes: 1 addition & 1 deletion doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The Slycot library is organised by chapters. Each chapter can be identified by a
:hidden:
:caption: 🪄 How-to guides

/guides/system_norms
/guides/index

.. toctree::
:maxdepth: 2
Expand Down
0