Compute the numeric derivative of the target function with respect to the indexed parameter, using a stepsize of delta_x
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 ##
|