From 21c27ad984ed809fc1389ef52e12d53193871ce0 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 17 May 2010 15:38:31 -0400 Subject: [PATCH] Adjusted hooke.util.calculus.derivative.__doc__ so Sphinx doesn't die. --- hooke/util/calculus.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/hooke/util/calculus.py b/hooke/util/calculus.py index 504840a..c25a87a 100644 --- a/hooke/util/calculus.py +++ b/hooke/util/calculus.py @@ -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] -- 2.26.2