fix
This commit is contained in:
@@ -81,6 +81,9 @@ def getagegrouprecord(age, sex='male', weightcategory='hwt',
|
||||
def errfunc(pars, x, y):
|
||||
return fitfunc(pars, x)-y
|
||||
|
||||
p0 = [700, 120, 700, 10, 100, 100]
|
||||
|
||||
|
||||
try:
|
||||
p1, success = optimize.leastsq(errfunc, p0[:],
|
||||
args=(ages, powers))
|
||||
|
||||
Reference in New Issue
Block a user