What light is

A grid is not a resolution

Ten essays into this collection there is one sentence about wavelength sampling, and it is that five nanometres is enough. Ten measurements later there are three decisions, three mechanisms, three repairs and two rankings, and the word resolution names none of them.

Assumes Which end to buy, The endpoint term has a name and The reference had to be built.

A word that names three different things is worse than no word, because it lets a decision be made without being noticed. This section began by taking one apart and ends by saying what should be said instead of it.

What a tabulation step costs, by light, on paper. The horizontal axis is the tabulation step in nanometres, from one to twenty; the vertical is how far the resulting colour is from the same integral taken at a tenth of a nanometre over the same range, in ΔE₀₀, on a logarithmic scale. Each line is one light. The three with no feature narrower than the step fall smoothly and stay below a tenth of a unit at five nanometres, which is the grid used throughout. The fluorescent tube and the laser projector do not fall at all: their lines are narrower than any step drawn here, so the answer depends on where the samples land rather than on how many there are. The sample is held at paper throughout.
Fig. 1 Six lights against tabulation step on a white paper. Three curves fall smoothly, two do not fall at all, and one lies on the floor throughout — three behaviours that a single word about resolution cannot distinguish.

The claim

“Resolution” names three separable decisions with three mechanisms, three repairs and two different rankings, and every ambiguity in this section came from having one word for them.

  • A step is a quadrature parameter. Its repair is arithmetic and costs computation.
  • A range is a truncation. Its repair is data and costs a modelling commitment on every sample.
  • An origin is an alignment. It has no repair downstream at all, and its only remedy is a filter applied before the table exists.
  • And the largest of the three is not the same one twice. Under daylight the range wins by nine to one; under a fluorescent tube the step wins by six thousand to one.

What ten measurements produced

The section’s results, gathered, on a red pigment or over forty-two surfaces as noted, all against an analytic reference:

what was varied under daylight under a fluorescent tube
step, 5 nm against 0.1 0.064 0.981
step, over the family, median 0.060 0.834
range, 380–780 against 300–830 0.502 0.00007
range, over the family, median 0.542 0.00013
origin, spread across one cell 0.050 3.176
slit, zero width against five 0.000 1.242
interpolation, best rule against direct −0.052 +0.000
end cells, rectangle against trapezoid 0.060 0.00002

Reading down either column is instructive and reading across is the point. Every entry in the left column is small; the largest is the range. Every entry in the right column but two is either enormous or zero; the largest is the origin, which is not a thing anybody has ever varied.

No single number summarises that table, and every published guidance figure about spectral sampling is an attempt to.

The three mechanisms, named apart

A step is about approximation. A sum over a finite grid differs from an integral by an amount that depends on the integrand’s curvature and on the spacing, and it converges as the spacing shrinks. Every intuition anybody has about numerical accuracy applies to it, and — as it turns out — most of what is usually charged to it belongs somewhere else.

A range is about omission. The truncated integral is not an approximation to the full one; it is a different integral, computed exactly. Refining does not touch it and no amount of care inside the range can recover what is outside. Its size is a product of what the observer has at the edges and what the light puts there, which is why one end costs three thousand times the other.

An origin is about alignment. It produces no error in the ordinary sense at all, because there is no single answer to be distant from; five legitimate five-nanometre tabulations of a mercury lamp give five different colours, and none of them is the true one. Refining does not converge. The only remedy is upstream.

Three mechanisms, three verbs: approximated, omitted, aliased. A calculation can be suffering from any one of them while the other two are perfect, and the diagnosis takes three separate tests.

There is a fourth mechanism hiding among the three and it belongs to none of them. A slit is not a property of the tabulation at all; it is a property of the instrument that produced the numbers, and it decides whether the other three questions even make sense. A table of band averages and a table of point samples are different objects that no format distinguishes, and the same summation is correct for one and wrong for the other.

That is why the section keeps returning to a single sentence about provenance. Everything downstream — which rule to use, whether to interpolate, whether the origin matters — is decided by how the numbers were made, and the numbers do not carry the answer. A collection computing from formulae is in a different regime from a laboratory reporting measurements, using the same file format and the same arithmetic, and neither can tell from the other’s data which it is looking at.

The procedure, in four lines

What replaces the word is short enough to carry.

Slide the origin. If the answer moves, the calculation is aliased and nothing downstream will help. Stop and look at where the table came from.

Change the rule. If halving the two end weights moves the answer, most of what was being called a sampling error is the truncation, and the step is not the problem.

Widen the range at a fixed step. What moves is the omission, and it is usually the largest term under a smooth light.

Then refine the step. Whatever is left is the approximation, and it is usually the smallest of the three and the only one anybody had a name for.

The order matters. Running them the other way round produces a number for each that is contaminated by the ones not yet controlled, which is how this section’s first attempt reported a step error that rose as the step got finer.

How much the answer moves when the 5-nanometre grid is slid through one cell. Each bar is the spread of one light's colour across five grid origins, all at the same 5-nanometre step, in ΔE₀₀. A smooth light barely moves, and what movement it has is the end cells rather than the sampling. The fluorescent tube moves by 0.78 units and the laser projector by 4.0, because their emission lines are narrower than the step and whether a sample lands on one is a coincidence of arithmetic. This is the measurement that separates a quadrature error from an aliasing error, and no average over origins can substitute for it.
Fig. 2 The first test of the four, on a white paper. Two lights move and four do not, and the two that move are the two for which the other three tests are irrelevant.
The rectangle sum against the trapezoid sum, under a 6500 K thermal radiator. Colorimetry's summation is the rectangle rule at the tabulated points. The trapezoid rule differs from it by exactly one thing — half a cell at each end of the range — and the gap between these two lines is therefore that term and nothing else. At five nanometres it is a factor of 11.1, which means the number everybody calls a sampling error is mostly a truncation error wearing the step's clothes. On a light whose lines are narrower than the step the two rules agree to three decimal places, because there the error really is the sampling.
Fig. 3 The second test of the four, on the same paper. The gap between the two rules is the endpoint term, and on this light it is most of what a five-nanometre calculation gets wrong.

The four tests have an order and it is worth defending, because the obvious order is the reverse. An instinct that begins by refining the step is beginning with the smallest term and the one most contaminated by the others: a step measured before the range is controlled reports the truncation, and a step measured before the origin is checked reports an aliasing that refining cannot remove. Each test in the list above removes a mechanism from the ones after it.

The order also happens to run from cheapest to most expensive, which is convenient rather than deep. Sliding an origin and changing two weights are minutes of work; widening a range is a modelling commitment across every sample in a system; refining a step is the only one that costs computation and it is the last one to reach for.

Why one word survived so long

It is worth asking why a field as careful as colorimetry has one word here, and the answer is not carelessness.

For measured data the three decisions are genuinely linked. An instrument’s bandpass, its reporting interval and its range are set together by the optics: a monochromator’s slit width fixes the bandpass, the bandpass fixes the useful interval, and the grating’s range fixes the ends. Choosing one chooses the others, so a single number describes the instrument and the word “resolution” is a fair summary of it.

The link breaks when the spectrum is not measured. A calculation from formulae has a step chosen by convenience, a range inherited from a table, an origin nobody selected and no bandpass at all. The four are then independent, and a word that assumed they were linked describes none of them.

That is the same shape as several other things this collection has found. A convention becomes invisible when it stops being a choice, and a word that summarises four linked quantities keeps being used after the link is gone.

What the section changes about this collection

Three specific things, all of them recorded rather than repaired.

The collection point-samples where an instrument integrates. Every spectrum here is a formula evaluated at eighty-one wavelengths, which is a zero-width slit, and for its narrowband lamps that is the worst case rather than the best. Any absolute colour quoted here for a discharge lamp or a laser primary would be different on a grid beginning one nanometre later.

Its summation is the standard’s and the standard’s is for measured data. Equal weights are correct for band-integrated values and wrong for sampled ones, and this collection produces sampled ones. The trapezoid rule is the right rule here and is not in use.

And its range is the largest of its three defects under the lights it draws most. That has been on the ledger for two rounds; what is new is that it has now been measured against the alternative rather than asserted, and it wins by about nine to one.

None of the three is fixed in this round. Each is a change that would move every number the collection has published, which is a reason for care rather than for delay, and the delay is the honest state.

The two tabulation choices over forty-two surfaces, under a 6500 K thermal radiator. Each column is one choice, measured over a family of forty-two analytic reflectances rather than on a single example: an absorption band of stated centre, width and depth. The four marks are the smallest, the median, the ninety-fifth percentile and the largest cost in ΔE₀₀, logarithmically. Under a smooth light the range is worth 9.1 times the step at the median, so a collection wanting one repair should widen its range rather than refine its step — and under a fluorescent tube the ranking reverses outright.
Fig. 4 The two repairable decisions over forty-two surfaces under daylight, as four percentiles each. The range’s median is nine times the step’s, and its worst case is thirty times.
What each end of the 380–780 nanometre range costs, by light. Two bars per light, on a logarithmic axis: the upper is what extending the range down to 300 nanometres moves the answer, the lower what extending it up to 830 does. The asymmetry is the whole figure. A thermal source has about a fifth of its power outside this collection's range and almost all of it at the long end, where the observer is already zero; what costs money is the short end, where the observer is small but not zero and daylight is still strong. A light with no ultraviolet — an LED lamp, a laser — pays nothing at either end, which is the pairing again: a range only costs what the light puts in it.
Fig. 5 The third test, on the same paper. Both ends of the range at once, logarithmically, with the ultraviolet end costing between two and four orders of magnitude more than the infrared for every light in the set.

Those two figures, taken together with the origin sweep, are the whole diagnostic procedure applied to one sample. They took about a second of computation each and between them they say which of three decisions a calculation is suffering from — which is the outcome this section exists to make routine, and which no amount of reading about resolution would have supplied.

What a data format would have to record

A short and slightly damning list falls out of the section, of things a spectral file would need to carry for any of this to be checkable by a reader.

The interval and the range are recorded by every format in use. The bandpass is recorded by some. The origin is recorded by none, and for measured data it does not need to be, because a properly filtered measurement is nearly origin-independent.

What no format records at all is whether the values are samples or band averages, and that single bit decides which summation is correct, whether the trapezoid rule helps or hurts, and whether interpolation is meaningful. A file that does not carry it can be processed correctly only by somebody who knows how it was made.

None of this is hypothetical for a reader of this collection. Its own tables stop in different places, its illuminants and its observers were tabulated by different committees for different purposes, and the one property that would settle how to combine them is the one nobody records.

That is not an argument for a new format. It is an argument for the sentence that should accompany any spectral data anybody publishes, and it is one sentence: these are band averages over a triangular slit of five nanometres, or these are point evaluations of a formula.

What the normaliser cancels, per light. Two bars per light, logarithmic. The upper is the colour error a 5-nanometre sum makes when the white it is divided by is computed finely; the lower is the same sum divided by the white computed on the same coarse grid, which is what every colorimetric calculation actually does. The ratio is between 9.7 and 53.9. The grid appears twice in a tristimulus value and the two errors are the same error, so most of it divides out — which is why five nanometres has been good enough for a century without anybody having to be careful about it.
Fig. 6 What the normaliser cancels, per light. This is the reason the left-hand column of the summary table is as small as it is, and the reason the right-hand column is not.

One further thing the section produced deserves to be carried out of it, because it is the only piece of good news. A colour is a ratio, the grid appears in both halves of it, and most of a quadrature error divides out — by a factor between 1.3 and 4.1 on the lights measured here, and completely on a flat sample. Five nanometres has survived a century partly because it is fine enough and partly because the arithmetic everybody uses cancels its own error without being asked to.

That cancellation has a condition, and the condition is the same one everything else in the section turned on. It works when the error is a smooth function of wavelength that both integrals share. A light with lines narrower than the step gives the two sums errors about different lines, there is nothing shared to divide out, and the factor collapses to the point of vanishing. So the mechanism that protects the ordinary case is absent in exactly the case that needs it — which is a fair one-sentence summary of the whole section.

What the section could not settle

Two questions were opened and not closed, and both are about samples rather than lights.

The whole section’s governing ratio compares the light’s narrowest feature against the step, and the general form is about the product of light and sample. Every sample here is smooth by construction, so no measurement in the section could distinguish the two statements. A structured sample — an interference filter, a structural colour, a laser-line notch — would put a calculation in the aliased regime with a perfectly smooth light, and nothing here says how common that is.

And the extrapolation problem under the range repair is untouched. Widening a range needs sixteen new rows for every reflectance, and a reflectance below 380 nanometres is a guess whose consequences exceed the truncation it replaces. That is the reason the largest defect stays unrepaired, and it is a physics problem wearing a tabulation problem’s clothes.

There is a last observation about the summary table that only becomes visible once all ten measurements are in one place. Six of the sixteen entries are either zero or below a thousandth of a unit, and they are not the same six in the two columns. A calculation under daylight has three live decisions and three dead ones; a calculation under a fluorescent tube has a different three of each. Nothing about the tabulation changed between the two columns — the same eighty-one wavelengths, the same range, the same origin — and yet the set of questions worth asking is disjoint.

That is the strongest argument the section can make for measuring rather than reasoning. A practitioner asked which of these decisions matters would answer from experience, and their experience would be under one kind of light. The four tests take a few seconds and answer for the light in the room.

What was computed, and how

Every number in the summary table is measured against an analytic reference at a tenth of a nanometre, whose own convergence is checked at half that and moves by 3 × 10⁻¹³ ΔE₀₀ on the sharpest case in the file. The reference had to be built because a tabulation cannot be audited against a tabulation, and the price is a model residual of 1.42 ΔE₀₀ that the comparative results do not carry and the absolute ones do.

Each of the three decisions is measured with the other two held fixed, which sounds obvious and was the section’s first mistake: measuring a step against a reference over a different range reported the truncation in the step’s column and inverted the scaling.

The figure family carries seven assertions, of which the two that matter are that a smooth light’s answer is nearly origin-independent and a spiky one’s is not, and that a finite slit improves a line spectrum’s tabulated colour by more than a factor of ten. Both are written as ratios between mechanisms rather than as tolerances, because a tolerance would be a claim about the constructed lights.

The generalisation

The habit is about words that summarise several parameters.

A single word for a bundle of linked quantities is efficient while they stay linked and becomes a hiding place when they come apart. The tell is that people disagree about the word’s value without disagreeing about anything measurable: one person says five nanometres is plenty and another says it is not, and both are right about different members of the bundle.

The repair is always the same and is always more work than the word. Name the members, measure them apart, and find out whether their ranking is stable. If it is, the word was earning its keep. If it reverses — as this one does, by a factor of six thousand, between two lamps in the same building — then the word was carrying a decision that nobody was making on purpose.

Who found it, and when

Every individual mechanism here is standard. Nyquist and Shannon settled the aliasing, Euler and Maclaurin the endpoints, and the truncation needs no theory at all.

What is specific to this subject is the bundling, and it comes from the instrument. Colorimetry inherited its tabulations from spectrophotometers, whose four parameters are set together by their optics, and it kept the vocabulary after computation stopped being done on instrument output. The CIE’s recommended practice is careful about the pieces; general use is not, and the gap is a century of habit rather than an error anybody made.

Where the ladder goes next

The index is finished. What remains of the colour integral is the third factor, and it is the one this collection has named on every figure it has ever drawn without ever asking what it is made of.

The third factor is a construction, with seven arguments a standard observer does not admit to having, and the round’s second half is the same audit run against it.

What this makes readable

Essays that name this one as a prerequisite.

Named alongside this one

Essays reaching for the same objects. Nobody chose these; they are what the index of named objects makes visible.

What links here

The 8 essays that link to this one and share the most of its objects, of 9 that link here.

The objects this essay names

Each one links to every other essay that touches it.

AliasingAuditIntegrationModelling assumptionQuadratureSamplingSpecificationStructural choiceTest setWavelength grid