h0rton.tests.test_trainval_data.test_xy_data¶
Module Contents¶
Classes¶
TestXYData |
A suite of tests on data preprocessing |
-
class
h0rton.tests.test_trainval_data.test_xy_data.TestXYData(methodName='runTest')[source]¶ Bases:
unittest.TestCaseA suite of tests on data preprocessing
-
classmethod
setUpClass(cls)[source]¶ Hook method for setting up class fixture before running tests in the class.
-
test_X_identity(self)[source]¶ Test if the input iamge equals the dataset image, when nothing is done to the image at all
-
test_X_transformation_rescale(self)[source]¶ Test if the images transform as expected, with whitening
-
test_X_transformation_log_rescale(self)[source]¶ Test if the images transform as expected, with log(1+X) and whitening
-
test_X_exposure_time_factor(self)[source]¶ Test if the images scale by the new effective exposure time correctly
-
classmethod