def function (   self,
  p,
  x 
)

Evaluate the appropriate linear combination

Definition at line 736 of file fitting_toolkit.py.

00736                             :
00737         if self.firstpass: #first call from hessian_fit is meaningless, all coefficients zero, save time
00738             return 0.0
00739 
00740         sumarray=zeros(x.shape[-1], self.atype)
00741         for i in range(self.param_count):
00742             sumarray+=p[i]*self.basis[i](i, x)
00743         return sumarray
00744     
    ##  


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