def set_initial_params (   self,
  params 
)

Set up initial values for function parameters to get the fit off to a good start.

Parameters:
params A array of starting values. The array has one value per free parameter in the fit, and must be ordered as it will be used by function()

Definition at line 279 of file fitting_toolkit.py.

00279                                         :
00280         "set up initial values for function parameters to get the fit off to a good start"
00281         self.funcparams=array(params, self.atype)
00282         self.firstpass=1    #probably need to recompute function if we did this
00283         self.param_count=len(params)
00284         if not hasattr(self, "deriv_step"):
00285             self.deriv_step=self.funcparams*0.001
00286     
    ##


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