From: W. Trevor King Date: Mon, 17 May 2010 19:38:31 +0000 (-0400) Subject: Adjusted hooke.util.calculus.derivative.__doc__ so Sphinx doesn't die. X-Git-Url: http://git.tremily.us/?p=hooke.git;a=commitdiff_plain;h=21c27ad984ed809fc1389ef52e12d53193871ce0 Adjusted hooke.util.calculus.derivative.__doc__ so Sphinx doesn't die. --- 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]