@@ -67,12 +67,9 @@ def test_sisotool(self, sys):
67
67
initial_point_2 , 4 )
68
68
69
69
# Check the step response before moving the point
70
- # new array needed because change in compute step response default time
71
70
step_response_original = np .array (
72
- [0. , 0.0069 , 0.0448 , 0.124 , 0.2427 , 0.3933 , 0.5653 , 0.7473 ,
73
- 0.928 , 1.0969 ])
74
- #old: np.array([0., 0.0217, 0.1281, 0.3237, 0.5797, 0.8566, 1.116,
75
- # 1.3261, 1.4659, 1.526])
71
+ [0. , 0.021 , 0.124 , 0.3146 , 0.5653 , 0.8385 , 1.0969 , 1.3095 ,
72
+ 1.4549 , 1.5231 ])
76
73
assert_array_almost_equal (
77
74
ax_step .lines [0 ].get_data ()[1 ][:10 ], step_response_original , 4 )
78
75
@@ -115,10 +112,9 @@ def test_sisotool(self, sys):
115
112
bode_mag_moved , 4 )
116
113
117
114
# Check if the step response has changed
118
- # new array needed because change in compute step response default time
119
115
step_response_moved = np .array (
120
- [0. , 0.0072 , 0.0516 , 0.1554 , 0.3281 , 0.5681 , 0.8646 , 1.1987 ,
121
- 1.5452 , 1.875 ])
116
+ [0. , 0.023 , 0.1554 , 0.4401 , 0.8646 , 1.3722 , 1.875 , 2.2709 ,
117
+ 2.4633 , 2.3827 ])
122
118
assert_array_almost_equal (
123
119
ax_step .lines [0 ].get_data ()[1 ][:10 ], step_response_moved , 4 )
124
120
0 commit comments