|
|
|
__init__(self,
label=' Fit ' ,
custom_robots=None)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
add_strategy_line(self)
Repeats the final fit(...) line in strategy script. |
source code
|
|
|
|
|
|
|
fit(self,
grab_initial=True)
Improves param values; Triggers OnStartFit, OnIteration, ...,
OnEndFit, OnParam, ..., OnStats. |
source code
|
|
|
|
|
|
|
|
|
request_fitparams(self)
Triggers OnMaxIter and OnToler. |
source code
|
|
|
request_fitter_name(self)
Triggers OnFitter. |
source code
|
|
|
|
|
request_strategy(self)
Triggers OnStrategy. |
source code
|
|
|
|
|
|
|
robot_fit(self,
serial,
grab_initial)
Fits by running strategy script; "fit" in script refers to
robot_strategy_fit, below. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
robot_set_curve(self,
curve_class,
expr=None) |
source code
|
|
|
robot_set_data(self,
xx,
yy,
vvv=[ ] ,
v_names=[ ] ) |
source code
|
|
|
|
|
|
|
|
|
robot_set_param(self,
nm,
value,
lo,
hi,
can_fit) |
source code
|
|
|
|
|
|
|
|
|
robot_strategy_fit(self,
variables=None,
**params)
Implementation of strategy.locals.fit |
source code
|
|
|
|
|
set_data(self,
xx,
yy,
vvv=[ ] ,
v_names=[ ] )
Makes available the x, y and variable series. |
source code
|
|
|
|
|
set_fitter(self,
fitter_class)
Replaces the fitter with fitter_class(max_iter, toler) . |
source code
|
|
|
set_max_iter(self,
x)
Changes the max number of param improvements per fit(). |
source code
|
|
|
set_param(self,
nm,
value=None,
lo=None,
hi=None,
can_fit=None)
Changes the value, low bound, high bound, and/or can_fit of a curve
param. |
source code
|
|
|
set_strategy(self,
x)
Modifies the startup script. |
source code
|
|
|
set_toler(self,
x)
Changes the precision of future fit()s. |
source code
|
|
|
set_weight(self,
expr)
Tells how to calculate each sample's weight; ssr = sum(
(weight*dy)**2 ). |
source code
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|