Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
pyMOR
pymor
Commits
21d7aad6
Commit
21d7aad6
authored
Jan 12, 2023
by
mohamedadelnaguib
Browse files
Extending the LTI tutorial with another bode_plot function call with the new arguments
parent
f75c4fbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/source/tutorial_lti_systems.md
View file @
21d7aad6
...
...
@@ -331,6 +331,22 @@ fig, axs = plt.subplots(6, 2, figsize=(8, 10), sharex=True, constrained_layout=T
_ = fom.transfer_
function.bode_plot(w, ax=axs)
```
In the Bode plot visualization, you can choose a specific one or more input-output pair
to display its plot by setting values for both the optional arguments ```input_indices``` and/or
```
output_indices
```. In case you did not pass values for both of these arguments, a
plot with all possible input-output paris will be displayed.
```
{code-cell}
fig, axs = plt.subplots(1, 1, figsize=(8, 10), sharex=True, constrained_layout=True)
_ = fom.transfer_
function.bode_plot(w, ax=axs, input_indices=[1], output_indices=[0])
```
As a result of the above function call, a plot that shows the relation between the second
input {math}`u_2` and first output {math}`y_1`.
P.S. In the case of input-output selection and passing a custom axis, make sure to pass
it an appropriate axis shape that matches your selection.
## System poles
The poles of an LTI system are the poles of its transfer function.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment