|
From: <mur...@us...> - 2013-06-10 15:38:54
|
Revision: 281
http://sourceforge.net/p/python-control/code/281
Author: murrayrm
Date: 2013-06-10 15:38:47 +0000 (Mon, 10 Jun 2013)
Log Message:
-----------
docstring updates
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/freqplot.py
trunk/src/xferfcn.py
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2013-06-10 05:05:46 UTC (rev 280)
+++ trunk/ChangeLog 2013-06-10 15:38:47 UTC (rev 281)
@@ -1,3 +1,9 @@
+2013-06-10 Richard Murray <mu...@al...>
+
+ * src/xferfcn.py (TransferFunction.horner): small fix to docstring
+
+ * src/freqplot.py (nyquist_plot): small fix to docstring
+
2013-06-09 Richard Murray <mu...@al...>
* tests/bdalg_test.py (TestFeedback.testScalarSS)
Modified: trunk/src/freqplot.py
===================================================================
--- trunk/src/freqplot.py 2013-06-10 05:05:46 UTC (rev 280)
+++ trunk/src/freqplot.py 2013-06-10 15:38:47 UTC (rev 281)
@@ -204,7 +204,7 @@
Examples
--------
>>> sys = ss("1. -2; 3. -4", "5.; 7", "6. 8", "9.")
- >>> real, imag, freq = nyquist(sys)
+ >>> real, imag, freq = nyquist_plot(sys)
"""
# If argument was a singleton, turn it into a list
if (not getattr(syslist, '__iter__', False)):
Modified: trunk/src/xferfcn.py
===================================================================
--- trunk/src/xferfcn.py 2013-06-10 05:05:46 UTC (rev 280)
+++ trunk/src/xferfcn.py 2013-06-10 15:38:47 UTC (rev 281)
@@ -545,10 +545,10 @@
return self.horner(s)
def horner(self, s):
- '''Evaluate the systems's transfer function for a complex variable
+ """Evaluate the systems's transfer function for a complex variable
Returns a matrix of values evaluated at complex variable s.
- '''
+ """
# Preallocate the output.
if getattr(s, '__iter__', False):
|