Skip to content

Commit

Permalink
Loosen test criteria for AHE
Browse files Browse the repository at this point in the history
Signed-off-by: Håkon Wiik Ånes <hwaanes@gmail.com>
  • Loading branch information
hakonanes committed Feb 10, 2023
1 parent 2f574a1 commit 625aa0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kikuchipy/signals/tests/test_virtual_bse_image.py
Expand Up @@ -120,4 +120,4 @@ def test_adaptive_histogram_equalization(self):
vbse_img = s.get_virtual_bse_intensity(hs.roi.RectangularROI(0, 0, 2, 2))
vbse_img.rescale_intensity(dtype_out=np.uint8)
vbse_img.adaptive_histogram_equalization()
assert abs(np.unique(vbse_img.data).size - 255) <= 5
assert abs(np.unique(vbse_img.data).size - 255) <= 10

0 comments on commit 625aa0d

Please sign in to comment.