File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
orangecontrib/spectroscopy/tests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -111,8 +111,8 @@ def test_agilent_fft_ab(self):
111111 # Calculate absorbance from ssc and rsc
112112 ab = np .log10 (rsc / ssc )
113113 # Compare to agilent absorbance
114- # NB 4 mAbs error
115- np .testing .assert_allclose (ab [limits [0 ]:limits [1 ]], dat , atol = 0.004 )
114+ # NB 0. 4 mAbs max error
115+ np .testing .assert_allclose (ab [limits [0 ]:limits [1 ]], dat , rtol = 2.5e-04 )
116116
117117 def test_multi (self ):
118118 dx_ag = (1 / 1.57980039e+04 / 2 ) * 4
@@ -148,8 +148,8 @@ def test_multi_ab(self):
148148 # Calculate absorbance from ssc and rsc
149149 ab = np .log10 (rsc / ssc )
150150 # Compare to agilent absorbance
151- # NB 4 mAbs error
152- np .testing .assert_allclose (ab [:, limits [0 ]:limits [1 ]], dat , atol = 0.004 )
151+ # NB 0. 4 mAbs max error
152+ np .testing .assert_allclose (ab [:, limits [0 ]:limits [1 ]], dat , rtol = 2.5e-04 )
153153
154154 def test_apodization (self ):
155155 for apod_func in ApodFunc :
You can’t perform that action at this time.
0 commit comments