summaryrefslogtreecommitdiff
path: root/test_interpolator.py
diff options
context:
space:
mode:
Diffstat (limited to 'test_interpolator.py')
-rw-r--r--test_interpolator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test_interpolator.py b/test_interpolator.py
index e4d2919..ab542f3 100644
--- a/test_interpolator.py
+++ b/test_interpolator.py
@@ -3,7 +3,7 @@ from colour import *
from colour.difference import delta_E_CIE1976
from colour.models import eotf_inverse_sRGB
from colour.recovery import Jakob2019Interpolator
-from gsoc_common import D65, D65_xy, jakob_hanika, model_sd, plot_comparison
+from gsoc_common import D65, D65_xy, model_sd, plot_comparison
# This script tests if the interpolator correctly handles multi-dimensional
# inputs.
@@ -20,7 +20,7 @@ if __name__ == "__main__":
cc = ccs[0, 0, 0, 0, :]
matched_sd = model_sd(cc, primed=False)
- matched_XYZ = sd_to_XYZ(matched_sd, illuminant=D65)
+ matched_XYZ = sd_to_XYZ(matched_sd, illuminant=D65) / 100
matched_Lab = XYZ_to_Lab(matched_XYZ, D65_xy)
error = delta_E_CIE1976(Lab, matched_Lab)