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 21a50c5..e4d2919 100644
--- a/test_interpolator.py
+++ b/test_interpolator.py
@@ -9,10 +9,10 @@ from gsoc_common import D65, D65_xy, jakob_hanika, model_sd, plot_comparison
# inputs.
if __name__ == "__main__":
interp = Jakob2019Interpolator()
- interp.read_file("data/srgb.coeff")
+ interp.from_file("data/srgb.coeff")
RGBs = np.random.random((7, 6, 5, 4, 3))
- ccs = interp.coeffs(RGBs)
+ ccs = interp.coefficients(RGBs)
RGB = eotf_inverse_sRGB(RGBs[0, 0, 0, 0, :])
XYZ = sRGB_to_XYZ(RGB)