@@ -116,7 +116,7 @@ def test_FRF():
116
116
# f method:
117
117
np .testing .assert_equal (np .abs (model .get_FRF_matrix (freq , frf_method = "f" )), np .abs (frf ))
118
118
# s method:
119
- np .testing .assert_allclose (np .abs (model .get_FRF_matrix (freq , frf_method = "s" )), np .abs (frf ), rtol = 1e-12 )
119
+ np .testing .assert_allclose (np .abs (model .get_FRF_matrix (freq , frf_method = "s" )), np .abs (frf ), rtol = 1e-10 )
120
120
121
121
122
122
def test_h ():
@@ -180,14 +180,14 @@ def test_response():
180
180
181
181
# f method:
182
182
np .testing .assert_allclose (model .get_response (exc_dof , exc , sampling_rate , domain = "f" , frf_method = "f" ),
183
- np .fft .irfft (frf [0 ,:]), rtol = 1e-11 )
183
+ np .fft .irfft (frf [0 ,:]), rtol = 1e-8 )
184
184
np .testing .assert_allclose (model .get_response (exc_dof , exc , sampling_rate , domain = "t" , frf_method = "f" ),
185
- np .fft .irfft (frf [0 ,:]), rtol = 1e-11 )
185
+ np .fft .irfft (frf [0 ,:]), rtol = 1e-8 )
186
186
# s method:
187
187
np .testing .assert_allclose (model .get_response (exc_dof , exc , sampling_rate , domain = "f" , frf_method = "s" ),
188
- np .fft .irfft (frf [0 ,:]), rtol = 1e-9 )
188
+ np .fft .irfft (frf [0 ,:]), rtol = 1e-8 )
189
189
np .testing .assert_allclose (model .get_response (exc_dof , exc , sampling_rate , domain = "t" , frf_method = "s" ),
190
- np .fft .irfft (frf [0 ,:]), rtol = 1e-9 )
190
+ np .fft .irfft (frf [0 ,:]), rtol = 1e-8 )
191
191
192
192
193
193
0 commit comments