def add_point (   self,
  xvector,
  yval 
)

Add one data point to the fit.

Parameters:
xvector A scalar (for fits with a single independent variable) or a vector (multiple independent variables)
yval A scalar value for the function at the specified point

Definition at line 343 of file fitting_toolkit.py.

00343                                       :
00344         self.check_arrays(xvector)
00345         n=self.pointcount           
00346         if self.arg_count > 1:
00347             self.xarray[:,n]=xvector
00348         else:
00349             self.xarray[0,n]=xvector
00350         self.yarray[n]=yval
00351         self.pointcount=self.pointcount+1
00352 
    ##


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