diff --git a/autotune/system_identification.py b/autotune/system_identification.py index 781a0bf..8f1f646 100644 --- a/autotune/system_identification.py +++ b/autotune/system_identification.py @@ -45,6 +45,8 @@ def apply_filters(u, y, f_hp, f_lp, dt): + u = np.asarray(u).ravel() + y = np.asarray(y).ravel() n_steps = len(u) if f_hp > 0.0: