Skip to content

Commit e10d481

Browse files
committed
update to address 29 Dec comments by @slivingston
1 parent e4d373c commit e10d481

File tree

4 files changed

+16
-14
lines changed

4 files changed

+16
-14
lines changed

control/frdata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class constructor, using the :func:`~control.frd` factory function, or
8181
frequency : 1D array
8282
Array of frequency points for which data are available.
8383
ninputs, noutputs : int
84-
Number of inputs and outputs signals.
84+
Number of input and output signals.
8585
shape : tuple
8686
2-tuple of I/O system dimension, (noutputs, ninputs).
8787
input_labels, output_labels : array of str
@@ -93,7 +93,7 @@ class constructor, using the :func:`~control.frd` factory function, or
9393
magnitude : array
9494
Magnitude of the frequency response, indexed by frequency.
9595
phase : array
96-
Magnitude of the frequency response, indexed by frequency.
96+
Phase of the frequency response, indexed by frequency.
9797
9898
Other Parameters
9999
----------------

control/statesp.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# statesp.py - state space class and related functions
22
#
3-
# Author: Richard M. Murray
4-
# Date: 24 May 09
5-
# Revised: Kevin K. Chen, Dec 10
3+
# Original author: Richard M. Murray
4+
# Creation date: 24 May 2009
5+
# Pre-2014 revisions: Kevin K. Chen, Dec 10
6+
# Use `git shortlog -n -s statesp.py` for full list of contributors
67

78
"""State space representation and functions.
89

control/tests/docstrings_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def test_deprecated_functions(module, prefix):
284284
#
285285
# List of arguments described in class docstrings
286286
#
287-
# These are the minimal arguments needed to initialized the class. Optional
287+
# These are the minimal arguments needed to initialize the class. Optional
288288
# arguments should be documented in the factory functions and do not need
289289
# to be duplicated in the class documentation.
290290
#
@@ -301,7 +301,7 @@ def test_deprecated_functions(module, prefix):
301301
# List of attributes described in class docstrings
302302
#
303303
# This is the list of attributes for the class that are not already listed
304-
# as parameters used to inialize the class. These should all be defined
304+
# as parameters used to initialize the class. These should all be defined
305305
# in the class docstring.
306306
#
307307
# Attributes that are part of all I/O system classes should be listed in

control/xferfcn.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# xferfcn.py - transfer function class and related functions
22
#
3-
# Author: Richard M. Murray
4-
# Date: 24 May 09
5-
# Revised: Kevin K. Chen, Dec 2010
3+
# Original author: Richard M. Murray
4+
# Creation date: 24 May 2009
5+
# Pre-2014 revisions: Kevin K. Chen, Dec 2010
6+
# Use `git shortlog -n -s xferfcn.py` for full list of contributors
67

78
"""Transfer function representation and functions.
89
@@ -91,7 +92,7 @@ class TransferFunction(LTI):
9192
9293
Notes
9394
-----
94-
The numerator and denominator polynomials are stored as 2D ndarray's
95+
The numerator and denominator polynomials are stored as 2D ndarrays
9596
with each element containing a 1D ndarray of coefficients. These data
9697
structures can be retrieved using ``num_array`` and ``den_array``. For
9798
example,
@@ -1399,9 +1400,9 @@ def _tf_factorized_polynomial_to_string(roots, gain=1, var='s'):
13991400

14001401

14011402
def _tf_string_to_latex(thestr, var='s'):
1402-
"""Superscript all digits in a polynomial string and convert float
1403-
coefficients in scientific notation to prettier LaTeX
1404-
representation.
1403+
"""Superscript all digits in a polynomial string and convert
1404+
float coefficients in scientific notation to prettier LaTeX
1405+
representation.
14051406
14061407
"""
14071408
# TODO: make the multiplication sign configurable

0 commit comments

Comments
 (0)