ism3d.modeling.amoeba_sa.amoeba_sa¶
-
ism3d.modeling.amoeba_sa.
amoeba_sa
(func, p0, scale, p_lo=None, p_up=None, funcargs=None, ftol=1e-05, maxiter=5000, temperature=0.0, verbose=False)[source]¶ - Keywords:
func: name of the function to be evaluate scale: the search scale for each variable, a list with one
element for each variable.
funcargs: unction optional parameters packed (dict) p0: initial values (ndarray) scale: initial scale (ndarray)
the function’s minimum lies within a distance of SCALE from P0
p_lo: p_lo limit for p (ndarray) p_up: p_up limit for p (ndarray)
return
dict