diff options
author | Picca Frédéric-Emmanuel <picca@debian.org> | 2024-02-05 16:30:07 +0100 |
---|---|---|
committer | Picca Frédéric-Emmanuel <picca@debian.org> | 2024-02-05 16:30:07 +0100 |
commit | 04095a69f18767d222b16fae5b40f2b712cd6f7e (patch) | |
tree | d20abd3ee2f237319443e9dfd7500ad55d29a33d /src/silx/image/test/test_tomography.py | |
parent | 3427caf0e96690e56aac6231a91df8f0f7a64fc2 (diff) |
New upstream version 2.0.0+dfsg
Diffstat (limited to 'src/silx/image/test/test_tomography.py')
-rw-r--r-- | src/silx/image/test/test_tomography.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/silx/image/test/test_tomography.py b/src/silx/image/test/test_tomography.py index e697cbc..73191d6 100644 --- a/src/silx/image/test/test_tomography.py +++ b/src/silx/image/test/test_tomography.py @@ -34,10 +34,9 @@ import numpy from silx.test.utils import utilstest from silx.image import tomography -class TestTomography(unittest.TestCase): - """ - """ +class TestTomography(unittest.TestCase): + """ """ def setUp(self): self.sinoTrueData = numpy.load(utilstest.getfile("sino500.npz"))["data"] @@ -47,7 +46,7 @@ class TestTomography(unittest.TestCase): self.assertTrue(numpy.isclose(centerTD, 256, rtol=0.01)) def testCalcCenterCorr(self): - centerTrueData = tomography.calc_center_corr(self.sinoTrueData, - fullrot=False, - props=1) + centerTrueData = tomography.calc_center_corr( + self.sinoTrueData, fullrot=False, props=1 + ) self.assertTrue(numpy.isclose(centerTrueData, 256, rtol=0.01)) |