def numeric_deriv (   self,
  param_index,
  delta_x 
)

Compute the numeric derivative of the target function with respect to the indexed parameter, using a stepsize of delta_x

Parameters:
param_index Index of the parameter in funcparams.
delta_x Full size of step to use in the numerical differentiation.
numerically differentiate the fitter's function with respect
 to the indexed parameter, using the specified step size

Definition at line 404 of file fitting_toolkit.py.

00404                                                  :
00405         """numerically differentiate the fitter's function with respect
00406          to the indexed parameter, using the specified step size"""
00407         delta=zeros(self.param_count, self.atype)
00408         delta[param_index]=delta_x/2.0
00409         newrow=((self.compute_funcvals(params=self.funcparams+delta)-
00410                 self.compute_funcvals(params=self.funcparams-delta))/delta_x)
00411         return newrow
00412     
    ##


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