mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
test_fits fixed
This commit is contained in:
parent
355a27d95a
commit
112890c9d2
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ def test_odr_fit():
|
||||||
|
|
||||||
data = RealData([o.value for o in ox], [o.value for o in oy], sx=[o.dvalue for o in ox], sy=[o.dvalue for o in oy])
|
data = RealData([o.value for o in ox], [o.value for o in oy], sx=[o.dvalue for o in ox], sy=[o.dvalue for o in oy])
|
||||||
model = Model(func)
|
model = Model(func)
|
||||||
odr = ODR(data, model, [0,0], partol=np.finfo(np.float).eps)
|
odr = ODR(data, model, [0,0], partol=np.finfo(np.float64).eps)
|
||||||
odr.set_job(fit_type=0, deriv=1)
|
odr.set_job(fit_type=0, deriv=1)
|
||||||
output = odr.run()
|
output = odr.run()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue