x, y, y2 = spline_extrapolate(x_vals,y_vals, yp1=None, ypn=None, xmin=None, xmax=None) returns the x, y, y2 table for the spline as needed by splint() with adjustments to allow quadratic extrapolation outside the range x[0]-x[-1], from xmin (or x[0] if xmin is None) to xmax (or x[-1] if xmax is None) Definition at line 86 of file spline.py. 00086 : 00087 """x, y, y2 = spline_extrapolate(x_vals,y_vals, yp1=None, ypn=None, xmin=None, xmax=None) 00088 returns the x, y, y2 table for the spline as needed by splint() with adjustments to allow quadratic extrapolation 00089 outside the range x[0]-x[-1], from xmin (or x[0] if xmin is None) to xmax (or x[-1] if xmax is None)""" 00090 00091 return spline_extension(x, y, spline(x,y,yp1,ypn), xmin, xmax) 00092 import types
|