What does Studio Falloff and Mixed Colour conclude, in numbers, about “Colour Temperature Is Not a Thermometer Reading: the Planckian Locus, a Test of McCamy's Cubic and Mired Steps”?

Answer: Now the main table. The second and third columns are blackbody chromaticities computed with the analytic fit. The fit is not identical to the standard tables, so at 2856 K x comes out as 0.4462 against the standard 0.44757, and McCamy's recovered temperature carries the fitting error: at 2856 K it returns 2888.5 K, 32.5 K high; at 3200 K, 3235.4 K; at 5600 K, 5612.2 K, 12.2 K high; at 6504 K, 6510.0 K. The last column converts these errors to mired: only -3.42 mired at 3200 K and -0.39 mired at 5600 K. The next section shows that, measured in mired, such errors are negligible for photography.

Scope of the numbers: Parameters are illustrative; all calculations are generated by the book's programs; the book is general business analysis, not individualised business advice. Marked boxes separate published evidence, runnable Python calculations (21 programs), classical sources and the author's hypotheses.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: -0.39, -3.42, 0.4462, 0.44757, 12.2, 2856

blackbody chromaticity (fitted CIE 1931) and McCamy CCT
T(K)xyMcCamyerror(K)error(mired)
17000.55750.40791756.3+56.3-18.85
20000.52410.41592019.6+19.6-4.85
28560.44620.40872888.5+32.5-3.94
32000.42230.39993235.4+35.4-3.42
40000.37980.37744029.7+29.7-1.84
50000.34480.35205017.4+17.4-0.69
56000.32990.33945612.2+12.2-0.39
65040.31330.32386510.0+6.0-0.14
80000.29510.30497982.6-17.4+0.27
100000.28070.28849874.2-125.8+1.27
150000.26380.267413955.8-1044.2+4.99
tabulated CIE points fed straight into McCamy:
illuminant A (0.44757, 0.40745): 2857.3 K (2856 K)
D65 (0.31271, 0.32902): 6504.4 K (about 6504 K)
Show the full program
# Chapter 5. p51: blackbody chromaticity and McCamy's cubic.
# Planck spectrum M(l, T) ~ l^-5 / (exp(c2 / (l T)) - 1), c2 = 1.4388e-2
# m K, sampled 360 to 830 nm every 1 nm and weighted with the
# multi-lobe Gaussian fit of the CIE 1931 colour-matching functions by
# Wyman, Sloan and Shirley (2013, Table 1); sums by math.fsum. McCamy
# (1992): n = (x - 0.3320) / (y - 0.1858),
# CCT = -449 n^3 + 3525 n^2 - 6823.3 n + 5520.33.
import math

LOBES = {"x": ((0.362, 442.0, 0.0624, 0.0374),
               (1.056, 599.8, 0.0264, 0.0323),
               (-0.065, 501.1, 0.0490, 0.0382)),
         "y": ((0.821, 568.8, 0.0213, 0.0247),
               (0.286, 530.9, 0.0613, 0.0322)),
         "z": ((1.217, 437.0, 0.0845, 0.0278),
               (0.681, 459.0, 0.0385, 0.0725))}
C2 = 1.4388e-2
WL = [360.0 + i for i in range(471)]


def cmf(key, lam):
    out = []
    for a, b, g, d in LOBES[key]:
        t = (lam - b) * (g if lam < b else d)
        out.append(a * math.exp(-0.5 * t * t))
    return math.fsum(out)


BAR = {k: [cmf(k, w) for w in WL] for k in ("x", "y", "z")}


def planck_xyz(temp):
    sp = [(w * 1e-9) ** -5 / math.expm1(C2 / (w * 1e-9 * temp)) for w in WL]
    xyz = [math.fsum(s * b for s, b in zip(sp, BAR[k])) for k in "xyz"]
    return [v / xyz[1] for v in xyz]


def chroma(xyz):
    t = math.fsum(xyz)
    return xyz[0] / t, xyz[1] / t


def mccamy(x, y):
    n = (x - 0.3320) / (y - 0.1858)
    return -449 * n ** 3 + 3525 * n ** 2 - 6823.3 * n + 5520.33


if __name__ == "__main__":
    print("blackbody chromaticity (fitted CIE 1931) and McCamy CCT")
    print("    T(K)      x        y       McCamy   error(K)  error(mired)")
    for temp in (1700, 2000, 2856, 3200, 4000, 5000, 5600, 6504,
                 8000, 10000, 15000):
        x, y = chroma(planck_xyz(temp))
        c = mccamy(x, y)
        print("  {:6d}   {:.4f}   {:.4f}   {:7.1f}   {:+7.1f}   {:+7.2f}"
              .format(temp, x, y, c, c - temp, 1e6 / c - 1e6 / temp))
    print("tabulated CIE points fed straight into McCamy:")
    print("  illuminant A (0.44757, 0.40745): {:.1f} K (2856 K)".format(
        mccamy(0.44757, 0.40745)))
    print("  D65 (0.31271, 0.32902): {:.1f} K (about 6504 K)".format(
        mccamy(0.31271, 0.32902)))

Single source and citation

Fan, Y. (2026). Inverse-Square Lighting and Area-Source Falloff in the Studio: Mixed Colour Temperatures and the Algebra of Lighting Ratios (Version 1.0.0), Chapter 5: Colour Temperature Is Not a Thermometer Reading: the Planckian Locus, a Test of McCamy's Cubic and Mired Steps. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-325 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026325,
  author    = {Fan, Yafu},
  title     = {Inverse-Square Lighting and Area-Source Falloff in the Studio: Mixed Colour Temperatures and the Algebra of Lighting Ratios},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book