def compute_chi2 (   self  ) 

Evaluate residuals, and compute proper chi^2 with weights.

Definition at line 506 of file fitting_toolkit.py.

00506                           :
00507         self.residuals=self.yarray[:self.pointcount]-self.funcvals
00508         self.chi2=float(dot(self.residuals,self.weights_multiply(self.residuals)))
00509         self.reduced_chi2=float(self.chi2/(self.pointcount-self.param_count))
00510 
    ##


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