Skip to content

Commit

Permalink
Update test values for small value changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
czwa committed Dec 10, 2019
1 parent 63079e6 commit 807df43
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_crosstalk.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ def testCrosstalk(self):
self.assertGreater(chunk1.getArray().std(), chunk2.getArray().std())

# More specific tests for the exact image statistics expected
self.assertAlmostEqual(chunk1.getArray().mean(), 3730.96, places=2)
self.assertAlmostEqual(chunk2.getArray().mean(), 3727.55, places=2)
self.assertAlmostEqual(chunk1.getArray().mean(), 3730.9656, places=2)
self.assertAlmostEqual(chunk2.getArray().mean(), 3727.5552, places=2)
self.assertAlmostEqual(chunkDiff.getArray().mean(), 3.41, places=2)
self.assertAlmostEqual(chunk1.getArray().std(), 33.80, places=2)
self.assertAlmostEqual(chunk2.getArray().std(), 33.31, places=2)
self.assertAlmostEqual(chunk1.getArray().std(), 33.792892, places=2)
self.assertAlmostEqual(chunk2.getArray().std(), 33.302906, places=2)
self.assertAlmostEqual(chunkDiff.getArray().std(), 5.86, places=2)

# Option to display the portions of the image with/without crosstalk
Expand Down

0 comments on commit 807df43

Please sign in to comment.