Adjusted hooke.util.calculus.derivative.__doc__ so Sphinx doesn't die.
authorW. Trevor King <wking@drexel.edu>
Mon, 17 May 2010 19:38:31 +0000 (15:38 -0400)
committerW. Trevor King <wking@drexel.edu>
Mon, 17 May 2010 19:38:31 +0000 (15:38 -0400)
hooke/util/calculus.py

index 504840a5196513ada32293e708a29571473b24db..c25a87aa9502f6d53ce9d0cc75019bd6e9f5b94b 100644 (file)
@@ -43,8 +43,7 @@ def derivative(data, x_col=0, f_col=1, weights={-1:-0.5, 1:0.5}):
     Notes
     -----
 
-    Weights
-    ~~~~~~~
+    *Weights*
 
     The returned :class:`Data` block shares its x vector with the
     input data.  The ith df/dx value in the returned data is
@@ -67,11 +66,11 @@ def derivative(data, x_col=0, f_col=1, weights={-1:-0.5, 1:0.5}):
 
     The default scheme is central differencing.
 
-    Boundary conditions
-    ~~~~~~~~~~~~~~~~~~~
+    *Boundary conditions*
 
-    These could be configurable in principle.  The current scheme just
-    extrapolates virtual points out to negative `i` following::
+    The boundary conditions could be configurable in principle.  The
+    current scheme just extrapolates virtual points out to negative
+    `i` following::
 
         f[i<0] = 2*f[0] - f[-i]