summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2020-06-28 16:20:27 +0200
committerPaweł Redman <pawel.redman@gmail.com>2020-06-28 16:20:27 +0200
commitd1a82da26a9d12a178f8d30da354dbe7bd4f3af8 (patch)
tree7084ff3a9048c807db5b38c36d31ac0c8808c213
parent93d0842aae13d14c863298e1903e235ac43500d9 (diff)
Update test_diff to match the unit test.HEADmaster
-rw-r--r--test_diff.py4
1 files 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