def SetLeftExtrapolation (   self,
  bound 
)

Set extrapolation on left end of data set.

This will be dynamically assigned to either SetLowerExtrapolation or SetUpperExtrapolation by the constructor depending on whether the transformed spline is running in increasing or decreasing order. This is necessary since the arrays may have been reversed because of a transformation of x.

Parameters:
bound the bound to which the left edge of the data should be extrapolated
Set extrapolation on left end of data set.  
This will be dynamically assigned to either SetLowerExtrapolation or SetUpperExtrapolation by the constructor

Definition at line 1200 of file C2Functions.py.

01200                                          :
01201         """Set extrapolation on left end of data set.  
01202         This will be dynamically assigned to either SetLowerExtrapolation or SetUpperExtrapolation by the constructor
01203         """
01204         xmin=self.fXin(bound)
01205         if xmin >= self.X[0]: 
01206             raise C2Exception("Attempting to extrapolate spline within its current range: bound = %g, bounds [%g, %g]" % 
01207                 ((bound,) + self.GetDomain()) )
01208         
01209         self.X, self.F, self.y2=_spline_extension(self.X, self.F, self.y2, xmin=xmin)
01210         self.Xraw=_numeric.concatenate(((bound, ), self.Xraw))
01211         self.SetDomain(min(self.Xraw), max(self.Xraw))
01212         
    ##


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