From c43cd5bc6877cc91f67c61124ed4e0345f6fffde Mon Sep 17 00:00:00 2001 From: "per.andreas.brodtkorb" Date: Wed, 11 Jan 2012 03:32:01 +0000 Subject: [PATCH] Small update --- pywafo/src/wafo/interpolate.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pywafo/src/wafo/interpolate.py b/pywafo/src/wafo/interpolate.py index 9cd9e8c..7851542 100644 --- a/pywafo/src/wafo/interpolate.py +++ b/pywafo/src/wafo/interpolate.py @@ -961,6 +961,11 @@ class Pchip(PiecewisePolynomial): y : array A 1-D array of real values. y's length along the interpolation axis must be equal to the length of x. + yp : array + slopes of the interpolating function at x. Optional: only given if they are known, else the argument is not used. + method : string + method for computing the slope at the given points if the slope is not known. With method= + "parabola" calculates the slopes from a parabola through every three points. Assumes x is sorted in monotonic order (e.g. x[1] > x[0])