Open dhblum opened 4 years ago
https://github.com/lbl-srg/EstimationPy/pull/3 reduces errors to:
======================================================================
ERROR: test_chol_update (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_ukf.py", line 341, in test_chol_update
L = ukf_FMU.compute_S(Xpoints, Xtrue, sqrtQ, w = Weights)
File "/home/dhbubu/git/estimationpy/EstimationPy/estimationpy/ukf/ukf_fmu.py", line 726, in compute_S
if w == None:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
======================================================================
FAIL: test_ukf_smoother_valve (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_ukf.py", line 572, in test_ukf_smoother_valve
"The max error in the estimation of the opening by the smoother is larger than the filter")
AssertionError: The max error in the estimation of the opening by the smoother is larger than the filter
----------------------------------------------------------------------
Ran 7 tests in 15.631s
FAILED (failures=1, errors=1)
Running
estimationpy/tests/test_ukf.py
results in: