def function (   self,
  coefs,
  xlist 
)

compute the polynomial

Definition at line 788 of file fitting_toolkit.py.

00788                                     :
00789         if self.firstpass: #first call from hessian_fit is meaningless, all coefficients zero, save time
00790             return 0.0
00791 
00792         xc=xlist-self.xcenter
00793         y=xc*coefs[-1]
00794         for i in coefs[-2:0:-1]:
00795             y=xc*(i+y)
00796         return y+coefs[0]
00797 
    ##


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