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