spline.py File Reference

Go to the source code of this file.

Namespaces

namespace  analysis.spline

Classes

class  RangeError

Functions

def spline
def spline_extension
def spline_extrapolate
def splint
def cubeinterpolate
def approximate_least_squares_spline

Variables

string _rcsid = "$Id: spline.py,v 1.23 2005/07/13 14:24:58 mendenhall Exp $"
list __all__
tuple testlist = ((0,1), (1,1),(2,3),(3,4),(4,2),(5,6),(7,9),(10,6),(15,2), (16,-1))
list xlist = [i[0] for i in testlist]
list ylist = [i[1] for i in testlist]
tuple y2 = spline(xlist,ylist, yp1=-5, ypn=10)
tuple r = (0,1,2,3.5, 3.7, 4,6,7,2,8,9,10,11, 5, 12,13,14, 15, 16)
tuple v = splint(xlist, ylist, y2, r)
tuple g = graphite.Graph()
tuple ds1 = graphite.Dataset()
tuple f1 = graphite.PointPlot()
tuple finex = Numeric.array(range(-20,181),Float)
tuple finey = splint(xx, yy, yy2, finex)
tuple ds2 = graphite.Dataset()
tuple f2 = graphite.PointPlot()


Generated on Wed Nov 21 10:18:31 2007 for analysis by  doxygen 1.5.4