Skip to content

Commit 866a07c

Browse files
committed
TRV: fix typos in FRD docstring
1 parent bda7d82 commit 866a07c

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

control/frdata.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,18 +92,17 @@ class FrequencyResponseData(LTI):
9292
9393
Notes
9494
-----
95-
The main data members are 'omega' and 'fresp', where 'omega' is a the 1D
96-
arran yf frequency points and and 'fresp' is a 3D array, with the first
97-
dimension corresponding to the output index of the FRD, the second
98-
dimension corresponding to the input index, and the 3rd dimension
95+
The main data members are 'omega' and 'fresp', where 'omega' is a 1D array
96+
of frequency points and and 'fresp' is a 3D array of frequency responses,
97+
with the first dimension corresponding to the output index of the FRD, the
98+
second dimension corresponding to the input index, and the 3rd dimension
9999
corresponding to the frequency points in omega. For example,
100100
101101
>>> frdata[2,5,:] = numpy.array([1., 0.8-0.2j, 0.2-0.8j])
102102
103-
means that the frequency response from the 6th input to the 3rd
104-
output at the frequencies defined in omega is set to the array
105-
above, i.e. the rows represent the outputs and the columns
106-
represent the inputs.
103+
means that the frequency response from the 6th input to the 3rd output at
104+
the frequencies defined in omega is set to the array above, i.e. the rows
105+
represent the outputs and the columns represent the inputs.
107106
108107
A frequency response data object is callable and returns the value of the
109108
transfer function evaluated at a point in the complex plane (must be on

control/iosys.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -772,10 +772,10 @@ def _out(self, t, x, u):
772772
class NonlinearIOSystem(InputOutputSystem):
773773
"""Nonlinear I/O system.
774774
775-
Creates an :class:`~control.InputOutputSystem` for a nonlinear system
776-
by specifying a state update function and an output function. The new
777-
system can be a continuous or discrete time system (Note:
778-
discrete-time systems not yet supported by most function.)
775+
Creates an :class:`~control.InputOutputSystem` for a nonlinear system by
776+
specifying a state update function and an output function. The new system
777+
can be a continuous or discrete time system (Note: discrete-time systems
778+
are not yet supported by most functions.)
779779
780780
Parameters
781781
----------

0 commit comments

Comments
 (0)