From d1a82da26a9d12a178f8d30da354dbe7bd4f3af8 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sun, 28 Jun 2020 16:20:27 +0200 Subject: Update test_diff to match the unit test. --- test_diff.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_diff.py b/test_diff.py index 775752f..3d55963 100644 --- a/test_diff.py +++ b/test_diff.py @@ -15,8 +15,8 @@ if __name__ == "__main__": illuminant = SpectralDistribution(ILLUMINANT_SDS["D65"]).align(shape) illuminant_XYZ = sd_to_XYZ(illuminant) / 100 - target = np.array([22.955, 46.374, 3.5981]) # Some arbitrary Lab colour - xs = np.linspace(-100, 100, 500) + target = np.array([72., -20., 61.]) # Some arbitrary Lab colour + xs = np.linspace(-10, 10, 500) h = xs[1] - xs[0] # Vary one coefficient at a time -- cgit