Commit 3ffd40b
cri: integrate on the 1 nm CMFs — agreement with colour-science to 0.03
John asked whether the values could gain a decimal. Investigation:
- TM-30 already agreed to 0.002 (the loose tolerance was hiding it)
- CRI's F-series residual (-0.03..-0.08) was hunted through three
hypotheses: CCT method (exonerated -- Robertson vs our exact locus
differ < 1 K), boundary extrapolation (exonerated -- moves 0.001),
integration practice (CONFIRMED -- the 5 nm abridged Riemann sum vs
1 nm-practice integration accounts for 3-5x of it)
- fix: cri() integrates on the CIE-normative 1 nm CMFs (what we shipped
them for: F-series line+phosphor spectra ARE the spiky case) with a
1 nm Planckian reference. Residual now Ra <= 0.027, Rf/Rg <= 0.002;
the remainder is linear-vs-Sprague interpolation flavor, far below
the metrics' integer-published precision.
- oracle tolerances tightened to just above measured (0.05/0.01/0.01)
so any regression from today's agreement fails loudly.
161/161, nothing skipped.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 93fcdef commit 3ffd40b
3 files changed
Lines changed: 50 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
73 | | - | |
74 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
75 | 79 | | |
76 | 80 | | |
77 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
91 | 96 | | |
92 | 97 | | |
0 commit comments