713 Stain

Biology reads colour. A bacterium is Gram-positive if the field is purple, a nucleus is a nucleus if it is blue and the cytoplasm is pink, a band is present if it is dark. This subsection follows what a colour judgement rests on, and finds that the quantity being judged is not in the file.

713.0.1 The oldest one

Hans Christian Gram published his method in 1884. The object was not classification: he was trying to make bacteria visible against lung tissue in histological sections, and the observation that some organisms lost the stain during decolourisation was a failure of that aim. Gram wrote that the method was imperfect. The failure became the taxonomy.

The protocol has four steps, of which three are fixed and one is not.

Step Reagent Duration Standardised
1. primary stain crystal violet \(\sim 60\) s yes
2. mordant Gram’s iodine \(\sim 60\) s yes
3. decolourisation ethanol / acetone / acetone–alcohol by eye no
4. counterstain safranin \(\sim 60\) s partly

Step 3 is instructed as “until the runoff is clear.” Acetone acts faster than ethanol, and acetone–alcohol faster still; over-decolourisation renders a monoderm organism pink and under-decolourisation renders a diderm one purple. The discriminating step of the oldest classification in microbiology is a few seconds of judgement by a person watching a colour.

The outcome and the wall architecture it is taken to report do not always agree.

Organism Wall Stain outcome
Bacillus, stationary phase monoderm Gram-negative
Clostridium, Butyrivibrio monoderm variable within one smear
Mycobacterium monoderm poor; requires acid-fast
Deinococcus radiodurans diderm Gram-positive

The last two rows separate the stain from the structure. Wall architecture is a property of the organism; the stain is a property of the protocol, and the phrase “Gram-positive bacterium” names the second.

713.0.2 Where the colour comes from

Let \(s \in \mathbb {Z}_{\ge 0}^{3}\) be the triple of integers a colour sensor records at one location. The claim “this field is purple” is

\begin{equation} \Phi (s) \in \mathcal {P}, \qquad \Phi :\mathbb {Z}^{3}\longrightarrow \text {perceptual space}, \tag{24643}\end{equation}
where \(\mathcal {P}\) is the region named purple. The datum is \(s\). The map \(\Phi \) is not in the file, and it factors into six layers, each with published alternatives:
\begin{equation} \Phi \;=\; \underbrace {\,O\,}_{\text {observer}}\circ \underbrace {\,L\,}_{\text {LMS matrix}}\circ \underbrace {\,P\,}_{\text {working space}}\circ \underbrace {\,W\,}_{\text {white balance}}\circ \underbrace {\,M\,}_{\text {camera matrix}}\circ \underbrace {\,D\,}_{\text {demosaicing}}\circ \underbrace {\,Q\,}_{\text {quantisation}}, \tag{24644}\end{equation}
where \(Q\) is the only factor that is not invertible. Each factor is measured below against real data.
713.0.3 Data

Two published sources are used, both open and version-controlled.

Source Content Size
Kather et al. (2016), Zenodo 53169 \(5000\) H&E tiles, \(150\times 150\), \(8\) classes \(\sim 150\) MB
LibRaw src/tables/colordata.cpp camera colour matrices \(100\,966\) bytes

Of the \(5000\) tiles, \(4357\) yielded a stain estimate. The LibRaw table, retrieved from master in 2026, parses to \(707\) entries across \(37\) manufacturers. An earlier release of the same file gave \(812\) entries across \(36\): the table that assigns colour is itself versioned, and its contents move between releases. Provenance, as recorded in the source:

Attribution Entries Share
Adobe DNG Converter (file default) \(611\) \(86.4\%\)
DJC (Dave Coffin, dcraw) \(73\) \(10.3\%\)
Samsung DNG \(16\) \(2.3\%\)
LibRaw \(7\) \(1.0\%\)

Stain vectors are estimated per tile by the method of Macenko et al. (2009); the implementation recovers the Ruifrok & Johnston (2001) haematoxylin and DAB vectors on the scikit-image reference slide to \(4.83^\circ \) and \(6.65^\circ \). Colour-matching functions are the analytic fit of Wyman, Sloan & Shirley (2013) to CIE 1931; dichromat simulation follows Brettel, Viénot & Mollon (1997); colour differences are CIEDE2000.

713.0.4 The stain vector is not a vector

H&E is described by two optical-density vectors, and those vectors are tabulated as constants. Estimated instead from the tissue, across \(4357\) real tiles:

mean vector s.d. \(p_{99}\) max
haematoxylin \((0.541, 0.731, 0.416)\) \(3.07^\circ \) \(14.21^\circ \) \(20.20^\circ \)
eosin \((0.251, 0.823, 0.509)\) \(3.77^\circ \) \(21.49^\circ \) \(26.17^\circ \)

The angle from the tabulated Ruifrok & Johnston values is \(9.73^\circ \) for haematoxylin and \(27.16^\circ \) for eosin. The published constant for eosin is twenty-seven degrees from what four thousand slides of eosin actually are.

The spread is not noise; it tracks the tissue:

Class \(n\) angle from dataset mean
06_MUCOSA \(625\) \(0.82^\circ \)
01_TUMOR \(625\) \(1.71^\circ \)
03_COMPLEX \(625\) \(2.68^\circ \)
04_LYMPHO \(625\) \(3.31^\circ \)
02_STROMA \(625\) \(4.27^\circ \)
05_DEBRIS \(625\) \(4.46^\circ \)
07_ADIPOSE \(589\) \(6.24^\circ \)
08_EMPTY \(18\) \(6.25^\circ \)

Every stain-normalisation method, and every quantitative measurement made after one, takes this vector as an input.

713.0.5 Each factor of \(\Phi \), measured

The two estimated stain vectors render as sRGB \((73.4, 47.3, 97.9)\) and \((143.0, 38.3, 78.9)\), with \(\Delta E_{00} = 19.81\) between them. Holding the tissue fixed and varying one factor of \(\Phi \) at a time:

Factor Alternatives \(\Delta E_{00}\) range Ratio
\(M\) camera matrix \(696\) real entries \(13.26\)–\(73.41\) \(5.5\times \)
\(W\) white balance \(5\) estimators \(19.32\)–\(22.20\) \(1.15\times \)
\(O\) observer \(4\) types \(14.51\)–\(32.59\) \(2.2\times \)
\(D\) demosaicing bilinear vs. Malvar — see below

The camera matrix is the largest single factor. The extremes are:

Camera \(\Delta E_{00}\)
Canon PowerShot SX40 HS \(13.26\)
Canon PowerShot SX110 IS \(16.03\)
PhaseOne IQ150 \(48.69\)
Sigma sd Quattro \(73.41\)

Demosaicing is the most instructive. Two standard interpolations of the same Bayer mosaic differ by \(4.09/255\) per channel on average, and that difference displaces the estimated stain vector by a mean of \(13.31^\circ \) (max \(31.32^\circ \)) for haematoxylin and \(9.38^\circ \) (max \(24.75^\circ \)) for eosin. The interpolation algorithm moves the stain vector four times further than the tissue class does.

Over all \(10\,440\) combinations of camera, estimator and observer, the nucleus–cytoplasm difference has median \(18.39\), minimum \(3.89\), maximum \(73.50\); \(0.2\%\) fall below \(\Delta E_{00} = 5\) and none below the just-noticeable difference. The binary call survives; the quantity does not.

713.0.6 Removing the colour

The preceding varies \(\Phi \) while keeping a colour. The stronger operation is to remove what the colour depends on.

A sensor contains no red, green or blue. It contains wells behind filters, and returns integers. The names are the channel order. Let \(G\) act on \(\mathbb {Z}^{3}\); for one real tumour tile with \(22\,500\) pixels and \(13\,586\) distinct triples:

Group What changes Partition preserved
\(S_3\), channel relabelling (\(6\)) \(\Delta E_{00}\) \(17.14\)–\(37.04\) (\(2.16\times \)); hue \(123.9^\circ \)–\(314.0^\circ \) \(6/6\)
diagonal, white balance the above, and lightness exactly
\(GL(3,\mathbb {R})\), exact arithmetic \(\Delta E_{00}\) \(0.98\)–\(102.21\); hue covers \(12/12\) sectors exactly
\(GL(3,\mathbb {R})\), then \(8\)-bit requantisation as above \(42/181\) \((23.2\%)\)

Under \(S_3\) a column permutation is a bijection of \(\mathbb {Z}^{3}\), so the equality relation is preserved exactly, and the measurement confirms it: \(6/6\), over \(3538\) equivalence classes in a \(4000\)-pixel sample. Under \(GL(3,\mathbb {R})\) a non-singular map is likewise a bijection and preserves the partition in exact arithmetic. Writing the result back into an eight-bit container does not: only \(42\) of \(181\) random mixes returned the original partition. That failure belongs to the requantisation, not to the map — the bit depth is a seventh factor of \(\Phi \), and it is the only one that destroys information rather than relabelling it.

In \(38.4\%\) of the random mixes the nucleus renders bluer than the cytoplasm and in the remainder it does not: the sentence “the nucleus is the blue one” is true for a subset of the group, not for the specimen. The dimension is also a choice. Projecting the same pixels onto \(k\) channels:

\(k\) A pixel is Is there a hue? Distinct values
\(1\) a scalar no — there is no plane \(247\)
\(2\) a pair one angle only \(9042\)
\(3\) a triple yes, the usual one \(13\,586\)
\(4\) a \(4\)-tuple undefined \(13\,586\)
\(6\) a \(6\)-tuple undefined \(13\,586\)
\(16\) a \(16\)-tuple undefined \(13\,586\)

Hue exists at \(k=3\) and for one particular triple of filter transmittances. It is a property of the filter array, not of the specimen. A four-channel array (RYYB, RGBW) or a sixteen-channel one records the same scene and admits no purple. The information content does not change: \(13\,586\) distinct values at every \(k \ge 3\).

713.0.7 What the file contains
\begin{equation} \text {file} \;=\; \{\,x_i \in \mathbb {Z}^{3}\,\}_{i=1}^{N}, \qquad \text {invariant} \;=\; \delta (x,y) = \begin {cases} 0 & x = y\\ 1 & x \neq y\end {cases} \;\in \; \mathbb {F}_2 . \tag{24645}\end{equation}

Everything else — the hue, the \(\Delta E_{00}\), the word purple — is \(\Phi (x)\), and \(\Phi \) is supplied from outside. This is the form already reached for sequence: the letters \(\mathrm {ACGT}\) are labels, alignment uses only the \(\mathbb {F}_2\)-valued identity relation, and relabelling by any bijection leaves every score invariant. Colour is the same statement with \(\Sigma = \mathbb {Z}^{3}\) in place of four letters.

The Gram call, the H&E read, the gel band and the fluorescence channel are all of the form \(\Phi (x) \in \mathcal {P}\) with \(\Phi \) declared and \(\mathcal {P}\) thresholded. The specimen supplies \(x\). It does not supply purple.

Source availability

Kather et al., Sci. Rep. 6:27988 (2016); https://doi.org/10.5281/zenodo.53169. LibRaw src/tables/colordata.cpp, master, https://github.com/LibRaw/LibRaw; matrix elements are integers scaled by \(10^{4}\) and the table is the Adobe DNG ColorMatrix, mapping \(\mathrm {XYZ}\) to camera RGB, so rendering applies \(M^{-1}\). Ruifrok & Johnston, Anal. Quant. Cytol. Histol. 23:291 (2001), as distributed in scikit-image. Macenko et al., ISBI (2009). Wyman, Sloan & Shirley, JCGT 2:1 (2013). Brettel, Viénot & Mollon, JOSA A 14:2647 (1997). Derived tables: libraw_matrices.csv (\(707\) rows).

pict
Figure 917: Colour removed from one real H&E tile. Top row: the six elements of \(S_3\) applied to the channel order of a single tumour tile from Kather et al. (2016). The integers are identical in every panel and the partition of pixels into equal-valued classes is preserved exactly, since a column permutation is a bijection of \(\mathbb {Z}^3\). The nucleus–cytoplasm difference nonetheless ranges over \(\Delta E_{00} = 17.14\) to \(37.04\) and the hue assigned to the nucleus over \(123.9^\circ \) to \(314.0^\circ \). Middle row: six random elements of \(GL(3,\mathbb {R})\) applied to the same integers. Over \(461\) such maps \(\Delta E_{00}\) ranges from \(0.98\) to \(102.21\) and the hue covers all twelve \(30^\circ \) sectors; the nucleus renders bluer than the cytoplasm in \(38.4\%\) of them. Bottom left: the distribution of \(\Delta E_{00}\) under \(GL(3,\mathbb {R})\). Bottom centre: the hue assigned to the nucleus, on the colour circle. Bottom right: the number of distinct pixel values, \(13\,586\), under each transformation — unchanged throughout. What the file carries is that count and the relation behind it; the hue is supplied by a map chosen elsewhere.
pict
Figure 918: The six factors of \(\Phi \), measured against real data. (a) Angular deviation of the per-tile stain vector from the dataset mean, over \(4357\) H&E tiles; s.d. \(3.07^\circ \) (haematoxylin) and \(3.77^\circ \) (eosin). (b) The haematoxylin vector by tissue class: the “constant” moves with the tissue. (c) Nucleus versus cytoplasm under four observer types. Unlike the purple/pink pair of the Gram stain, the measured haematoxylin–eosin pair separates along the blue–yellow axis, so protanopia retains \(73\%\) of the difference and deuteranopia and tritanopia increase it. (d) One tissue, one raw response, \(696\) camera matrices from LibRaw’s colordata.cpp: \(\Delta E_{00}\) from \(13.26\) to \(73.41\). (e) Five white-balance estimators. (f) All \(10\,440\) combinations of camera, estimator and observer. The median is \(18.39\); \(0.2\%\) fall below \(\Delta E_{00} = 5\) and none below the just-noticeable difference. The binary call survives every layer; the quantity does not.

713.1 The observer is also a parameter

The factor \(O\) has been treated above as a four-valued choice — normal, protan, deutan, tritan. It is not. Among people with clinically normal colour vision, the retina itself varies over published ranges large enough to matter.

Parameter Reported range Source
L:M cone ratio \(1.1{:}1\) to \(16.5{:}1\) Hofer et al. (2005), adaptive optics
L opsin \(\lambda _{\max }\) Ser180Ala, \(\sim 5\) nm shift, \(56/44\) split Merbs & Nathans (1992)
Macular pigment OD at \(460\) nm \(0\) to \(1.1\) CIE 170-1
Lens absorbance age \(20\) to \(80\) van Norren & Vos (1974)

An individual observer is constructed from these: photopigment absorbance from the Govardovskii et al. (2000) template at the stated \(\lambda _{\max }\), filtered by macular and lens transmittances, normalised, and combined at the stated L:M ratio into luminance, red–green and blue–yellow signals. The two measured stain colours are then presented to each.

Observer \(|\Delta (\mathrm {R{-}G})|\) % of standard \(|\Delta (\mathrm {B{-}Y})|\)
CIE-like standard \(0.2010\) \(100.0\) \(1.1152\)
L:M \(=1.1\) (Hofer low) \(0.2480\) \(123.4\) \(1.0765\)
L:M \(=16.5\) (Hofer high) \(0.0413\) \(\mathbf {20.5}\) \(1.1673\)
L opsin Ala180 (\(-5\) nm) \(0.1734\) \(86.3\) \(1.0662\)
macular OD \(0.0\) \(0.2028\) \(100.9\) \(1.3663\)
macular OD \(1.1\) \(0.1983\) \(98.7\) \(\mathbf {0.5951}\)
age \(20\) \(0.2026\) \(100.8\) \(1.0870\)
age \(80\) \(0.1939\) \(96.5\) \(1.2402\)

Two entries are consequential. A cone ratio at the top of the measured range leaves one fifth of the red–green signal, and macular pigment at the top of its range removes more than half the blue–yellow signal. Neither observer is colour-blind.

Drawing \(400\) observers jointly from the four published ranges:

Channel min median max ratio
red–green \(0.0368\) \(0.1237\) \(0.2603\) \(7.1\times \)
blue–yellow \(1.4814\) \(2.1088\) \(2.4803\) \(1.7\times \)

The correlation of the combined signal with macular optical density is \(+0.898\); with L:M ratio, \(+0.260\); with age, \(+0.147\). The split is the same one found above: the measured haematoxylin–eosin pair separates on blue–yellow, which varies by \(1.7\times \) across the population, whereas the crystal-violet/safranin pair of the Gram stain separates on red–green, which varies by \(7.1\times \). The weakest and strongest observers in the sample are both normal trichromats:

L:M \(\lambda _{\max }^{L}\) macular OD age combined
weakest \(1.14\) \(553.1\) \(0.04\) \(39\) \(1.4995\)
strongest \(12.41\) \(558.4\) \(1.09\) \(43\) \(2.4809\)
713.1.1 What another retina receives is not in the file

The preceding computation required a spectrum. The file does not contain one.

An image records three numbers per pixel, fixed under the 1931 observer. A different retina responds to \(S(\lambda )\), and the map from three numbers back to \(S(\lambda )\) is not a function: at \(1\) nm sampling over \(390\)–\(780\) nm the null space has \(388\) dimensions. Constructing \(40\) non-negative metamers of each measured stain colour — all reproducing the recorded \(\mathrm {XYZ}\) to \(4.6\times 10^{-10}\) — and presenting all \(1600\) pairs to a single observer with L:M \(=1.1\):

min median max ratio
\(|\Delta (\mathrm {R{-}G})|\), one observer, \(1600\) metamer pairs \(0.1256\) \(0.2573\) \(0.3780\) \(3.0\times \)

The three recorded numbers are consistent with all of these. Which one the tissue actually was is not recorded, and the projection that discarded it was performed by the camera before the file existed.

\begin{equation} \Phi \;=\; \underbrace {\,O\,}_{\text {retina}}\circ \underbrace {\,L\,}_{\text {LMS matrix}}\circ \underbrace {\,P\,}_{\text {working space}}\circ \underbrace {\,W\,}_{\text {white balance}}\circ \underbrace {\,M\,}_{\text {camera matrix}}\circ \underbrace {\,D\,}_{\text {demosaicing}}\circ \underbrace {\,Q\,}_{\text {quantisation}}\circ \underbrace {\,\Pi _{3}\,}_{\text {spectral projection}} . \tag{24646}\end{equation}

\(\Pi _3\) is applied first and is the largest discard: an infinite-dimensional signal to three numbers, with a null space of \(388\) dimensions at the sampling used here. \(Q\) discards further. The remaining six relabel. And \(O\), the factor usually treated as fixed — as “what a person sees” — ranges over \(7.1\times \) on the axis the Gram stain uses.

pict
Figure 919: The observer, and the spectrum the file does not contain. (a) Cone fundamentals built from the Govardovskii et al. (2000) pigment template at published \(\lambda _{\max }\), for two observers at the extremes of the measured L:M range, with the Ala180 L variant shown dotted. (b) Macular pigment and lens transmittance across their published ranges; both sit in front of the photoreceptors and both differ between people. (c) Four hundred observers drawn jointly from the four published ranges, plotted by the red–green and blue–yellow difference they receive between the measured haematoxylin and eosin colours, coloured by macular optical density. The red–green signal spans \(7.1\times \) and the blue–yellow \(1.7\times \); the correlation with macular density is \(+0.898\). None of the four hundred is colour-blind. (d) Forty non-negative spectra for each of the two recorded pixel values. All eighty reproduce the recorded tristimulus values to \(4.6\times 10^{-10}\), and the file does not record which one the tissue was. (e) The red–green difference a single observer receives from the \(1600\) pairings of those spectra: \(0.126\) to \(0.378\), a factor of three, from two fixed pixel values. (f) The eight factors of \(\Phi \). Only \(\Pi _3\) and \(Q\) discard information — \(388\) dimensions and a requantisation respectively; the other six are bijections that relabel.

713.2 Hearing

Colour is a three-dimensional projection of an infinite-dimensional signal. Hearing preserves frequency resolution that vision discards, and discards something vision does not have. This subsection measures what.

713.2.1 Phase is recorded and not heard

A periodic signal is specified by the amplitude and phase of each harmonic. Constructing four signals from the same twenty harmonics of \(220\) Hz with amplitudes \(1/h\) and different phase sets:

\[ \begin {array}{lrrr} \text {phase set} & \text {crest factor} & \text {peak} & \text {rms} \\ \hline \text {zero} & 1.988 & 1.000 & 0.5029 \\ \text {alternating } (0,\pi ) & 1.989 & 1.000 & 0.5029 \\ \text {random} & 2.273 & 1.000 & 0.4400 \\ \text {Schroeder} & 2.401 & 1.000 & 0.4165 \\ \end {array} \]
Randomising the phases of a fixed magnitude spectrum and resynthesising:
\[ \begin {array}{lrrrr} & \text {peak} & \text {crest} & \text {autocorrelation }\rho & \max |\Delta |\hat {X}|| \\ \hline \text {original} & 1.000 & 1.988 & 1.000000 & 0 \\ \text {phase-randomised 1} & 1.294 & 2.574 & 0.999991 & 4.5\times 10^{-16} \\ \text {phase-randomised 2} & 1.045 & 2.078 & 0.999996 & 2.2\times 10^{-16} \\ \text {phase-randomised 3} & 1.220 & 2.426 & 0.999990 & 1.5\times 10^{-16} \\ \end {array} \]
The magnitude spectrum is preserved to floating-point precision and the autocorrelation to six figures, while the peak amplitude changes by \(29\%\). In steady state these are heard as the same tone — the observation formalised as Ohm’s acoustic law and defended by Helmholtz.

A one-second signal at \(44\,100\) Hz has \(22\,051\) spectral components, specified by \(22\,051\) magnitudes and \(22\,051\) phases. The phases are recorded, transmitted, and stored, and are largely absent from what is heard.

713.2.2 The magnitudes are then grouped

Frequency resolution is not per-component either. The auditory periphery integrates over critical bands, of which there are approximately twenty-four between \(20\) Hz and \(20\) kHz. Their boundaries on the Bark scale:

\[ 20,\ 101,\ 204,\ 309,\ 417,\ 531,\ 651,\ 781,\ 922,\ 1079,\ 1255,\ 1456, \]
\[ 1691,\ 1968,\ 2303,\ 2711,\ 3212,\ 3823,\ 4554,\ 5412,\ 6414,\ 7617,\ 9167, \ 11415,\ 15429\ \mathrm {Hz}. \]
The effective frequency dimension of the percept is therefore of order twenty-four time-varying band energies, against \(44\,102\) real numbers in the signal.
713.2.3 The spectrogram depends on the window

A signal alternating between \(440\) and \(880\) Hz every \(10\) ms was analysed by short-time Fourier transform at ten window lengths. The uncertainty product is \(\Delta t\,\Delta f = 1\) throughout; what changes is how it is spent.

\[ \begin {array}{rrrrl} \text {window [ms]} & \Delta f\ [\mathrm {Hz}] & \text {peaks} & \text {peak frequencies [Hz]} & \\ \hline 0.5 & 2004.5 & 0 & \text {---} & \text {none resolved} \\ 1.0 & 1002.3 & 0 & \text {---} & \text {none resolved} \\ 2.0 & 501.1 & 1 & 501 & \text {merged into one} \\ 5.0 & 200.5 & 2 & 401,\ 802 & \text {both displaced} \\ 10.0 & 100.0 & 2 & 400,\ 900 & \\ 20.0 & 50.0 & 2 & 450,\ 900 & \\ 50.0 & 20.0 & 6 & 380,\ 440,\ 500,\ 820 & \text {sidebands appear} \\ 200.0 & 5.0 & 6 & 390,\ 440,\ 490,\ 830 & \\ 500.0 & 2.0 & 6 & 390,\ 440,\ 490,\ 830 & \\ \end {array} \]

No window returns two peaks at \(440\) and \(880\). Below \(2\) ms nothing is resolved. Between \(2\) and \(20\) ms the peaks are present but displaced by up to \(50\) Hz. Above \(50\) ms the frequencies converge on \(440\) and \(830\) but acquire four additional peaks at \(\pm 50\) Hz — the sidebands of the \(100\) Hz alternation, which the long window represents as amplitude modulation of a steady tone rather than as a sequence.

The two descriptions are not distinguished by the transform. “Two tones alternating every \(10\) ms” and “two tones sounding together with \(\pm 50\) Hz sidebands” are the same spectrogram read under different window lengths, and the window is chosen by the analyst.

713.2.4 The reference pitch is a convention of 1939
\[ \begin {array}{lrr} \text {standard} & A_4\ [\mathrm {Hz}] & \text {cents vs } 440 \\ \hline \text {early music practice} & 392.0 & -200.0 \\ \text {baroque practice} & 415.0 & -101.3 \\ \text {Mozart era, Vienna} & 421.6 & -74.0 \\ \text {Handel's fork, 1751} & 422.5 & -70.3 \\ \text {Paris Opera 1859 (\emph {diapason normal})} & 435.0 & -19.8 \\ \text {ISO 16 (1955/1975)} & 440.0 & 0.0 \\ \text {Berlin Philharmonic} & 443.0 & +11.8 \\ \text {Vienna Philharmonic} & 445.0 & +19.6 \\ \end {array} \]
The range spans \(220\) cents, or \(2.2\) semitones. The value \(440\) Hz was adopted at an international conference in \(1939\) and codified as ISO 16; two major orchestras currently tune above it.

The pitch called \(A\) is fixed the way the metre was fixed in \(1799\) and the Standard Observer in \(1931\): by agreement, from a range of prior practice, and the agreement is not the last one made.

713.2.5 Loudness is a weighting

The same sound pressure is assigned different decibel values by different weighting curves:

\[ \begin {array}{rrrr} f\ [\mathrm {Hz}] & A\ [\mathrm {dB}] & C\ [\mathrm {dB}] & Z\ (\text {flat}) \\ \hline 20 & -50.39 & -6.22 & 0 \\ 31.5 & -39.53 & -3.03 & 0 \\ 125 & -16.19 & -0.17 & 0 \\ 1000 & 0.00 & 0.00 & 0 \\ 4000 & +0.96 & -0.83 & 0 \\ 16000 & -6.71 & -8.64 & 0 \\ \end {array} \]
At \(20\) Hz the \(A\)- and \(C\)-weighted values differ by \(44\) dB, a factor of \(10^{4.4}\) in power. Noise regulations, hearing-damage criteria and product specifications are written in one of these and not the other.

The weightings derive from equal-loudness contours, which are observer averages. Fletcher and Munson (1933) measured under headphones on a small panel; Robinson and Dadson (1956) in a free field, and their curves became ISO 226:1987. ISO 226:2003 revised these substantially, raising the low-frequency thresholds by up to about \(10\) dB at \(31.5\) Hz. The curves coincide at \(1\) kHz by definition, since that is the reference point at which the phon scale is anchored.

713.2.6 Summary
\[ \begin {array}{ll} \text {recorded} & x(t),\ 44\,100\ \text {samples per second}, 16\text {--}24\ \text {bit} \\ \text {spectral degrees of freedom} & 22\,051\ \text {magnitudes} + 22\,051\ \text {phases} \\ \text {used} & \sim 24\ \text {critical-band energies, time-varying} \\ \text {discarded} & \text {phase; within-band structure} \\ \text {window-dependent} & \text {what is simultaneous and what is sequential} \\ \text {reference pitch} & 440\ \mathrm {Hz},\ 1939;\ \text {prior practice spans } 220\ \text {cents} \\ \text {loudness} & A/C/Z\ \text {differ by } 44\ \mathrm {dB\ at\ } 20\ \mathrm {Hz} \\ \text {equal loudness} & \text {observer average, revised by } 10\ \mathrm {dB\ in\ } 2003 \\ \end {array} \]

Two signals whose waveforms differ by \(29\%\) in peak amplitude are the same sound; two analyses of one signal disagree about whether its components are simultaneous; the note called \(A\) is an agreement of 1939; and how loud something is depends on which of three curves is applied.

PIC
Figure 920: Hearing: phase is recorded and not heard; the window decides what is simultaneous. (a) Two waveforms built from the same twenty harmonics of \(220\) Hz. The phase-randomised version has a crest factor of \(2.57\) against \(1.99\), a difference of \(29\%\) in peak amplitude. (b) Their magnitude spectra, which agree to \(6\times 10^{-16}\). In steady state the two are heard as the same tone. A one-second signal at \(44.1\) kHz carries \(22\,051\) magnitudes and \(22\,051\) phases; the phases are stored and largely absent from the percept. (c) Short-time Fourier transforms of a signal alternating between \(440\) and \(880\) Hz every \(10\) ms, at ten window lengths. No window returns two peaks at the two frequencies: below \(2\) ms nothing is resolved, between \(2\) and \(20\) ms the peaks are displaced by up to \(50\) Hz, and above \(50\) ms they acquire sidebands. (d) The \(2\) ms window: the alternation is visible in time, but the two frequencies merge into a single peak at \(501\) Hz. (e) The \(200\) ms window: the frequencies separate, the alternation disappears, and the \(100\) Hz switching rate appears instead as sidebands at \(\pm 50\) Hz – a steady tone under amplitude modulation. The transform does not distinguish “two tones alternating” from “two tones together with sidebands”. (f) A-, C- and Z-weighting curves. The same sound pressure at \(20\) Hz is assigned values differing by \(44\) dB, a factor of \(10^{4.4}\) in power, depending on which curve a regulation or specification names.
PIC
Figure 921: The reference pitch. Nine tuning standards in use before and after the 1939 international agreement that fixed \(A_4\) at \(440\) Hz, shown in cents relative to it. The range spans \(220\) cents, or \(2.2\) semitones. Red bars precede the agreement; blue bars are the current practice of two major orchestras, which tune above the standard. The note called \(A\) is fixed the way the metre was fixed in 1799 and the Standard Observer in 1931: by agreement, from a range of prior practice, and the agreement is not the last one made.

713.3 What the Record Decides

713.3.1 The dataset

The files are the released data of a mode-selective quantum-memory superresolution experiment, deposited at 10.5281/zenodo.19351042 under the title Super-resolving frequency measurement with mode-selective quantum memory — Data. The archive TF_Superresolution_SPE_Data.zip (\(0.84\) MB) contains thirty HDF5 files named

SPE_results_20250413_21sep_4p_213024_{2,10,100}kdetection_{1..10}.h5

— ten repetitions at each of three detection numbers, \(2\times 10^3\), \(1\times 10^4\) and \(1\times 10^5\). Each file holds two arrays: separation_list, the \(21\) source separations from \(0.00\) to \(1.00\) in steps of \(0.05\), and retrieved_counts, the counts recovered at each separation. Counts are absolute and are divided by the detection number throughout this subsection. The event-list analysis of the second part uses all \(168\,000\) values in the thirty files.

The dataset is used here as a well-characterised published measurement, not as an object of criticism: the property that makes the bias visible — repetition at three exposures, all released — is a strength of the deposit and is precisely what most published measurements do not provide.

The data are from a mode-selective quantum-memory superresolution experiment: thirty HDF5 files, ten repetitions at each of \(2\times 10^3\), \(10^4\) and \(10^5\) detections, each containing retrieved counts at \(21\) source separations. The counts are absolute, so they are divided by the detection number before any comparison.

713.3.2 A bias the quoted uncertainty does not contain

Averaging over repetitions at each detection number:

\[ \begin {array}{rrrrr} N & \text {count/detection} & \text {vs } 10^5 & 1/N\ \text {predicts} & 1/\sqrt {N}\ \text {predicts} \\ \hline 2\times 10^3 & 0.14200 & +11.103\% & +4900\% & +607\% \\ 1\times 10^4 & 0.12782 & +0.009\% & +900\% & +216\% \\ 1\times 10^5 & 0.12781 & 0 & 0 & 0 \\ \end {array} \]
The lowest exposure is high by \(11.1\%\); the other two agree to \(10^{-4}\). Neither \(1/N\) nor \(1/\sqrt {N}\) scaling accounts for this: both predict displacements two orders of magnitude larger at \(2\times 10^3\) and a substantial displacement at \(10^4\), where none is present.

The displacement is a multiplicative constant. Across the \(21\) separations the ratio is \(1.111030 \pm 0.000844\), a coefficient of variation of \(0.076\%\), while the additive difference has a coefficient of variation of \(1.95\%\) — a factor of \(26\) worse. Regressing the bias against separation gives a slope of \(-0.053\%\) per unit with \(p = 0.397\): the bias does not depend on the quantity being measured.

\[ \begin {array}{rrrr} \text {separation} & 2\mathrm {k} & 100\mathrm {k} & \text {bias \%} \\ \hline 0.00 & 0.14066 & 0.12667 & +11.045 \\ 0.20 & 0.13689 & 0.12337 & +10.957 \\ 0.40 & 0.14002 & 0.12600 & +11.128 \\ 0.60 & 0.14289 & 0.12871 & +11.021 \\ 0.80 & 0.14348 & 0.12898 & +11.249 \\ 1.00 & 0.14227 & 0.12811 & +11.054 \\ \end {array} \]

The variance behaves exactly as textbook statistics require. The scatter across the ten repetitions falls as \(N^{-1/2}\):

\[ \begin {array}{rrrr} N & \text {across-repetition s.d.} & 1/\sqrt {N}\ \text {prediction} & \text {ratio} \\ \hline 2\times 10^3 & 3.899\times 10^{-4} & 3.899\times 10^{-4} & 1.000 \\ 1\times 10^4 & 1.907\times 10^{-4} & 1.744\times 10^{-4} & 1.094 \\ 1\times 10^5 & 5.53\times 10^{-5} & 5.51\times 10^{-5} & 1.003 \\ \end {array} \]

So the two moments diverge. The second is exemplary; the first carries an \(11\%\) multiplicative offset that repetition does not reduce.

Proposition 713.1 (The bias exceeds the reported uncertainty by two orders of magnitude).

\[ \begin {array}{rrrr} N & \text {bias vs } 10^5 & \text {reported s.e.m.} & \text {ratio} \\ \hline 2\times 10^3 & 11.103\% & 0.0869\% & 127.8 \\ 1\times 10^4 & 0.042\% & 0.0472\% & 0.9 \\ 1\times 10^5 & 0 & 0.0137\% & 0 \\ \end {array} \]
A result reported at \(2\times 10^3\) detections would be displaced by \(11\%\) and would carry an uncertainty of \(0.09\%\). Nothing in the within-run scatter indicates the displacement; nothing in the repetition scatter indicates it either, since the repetitions share it.

The displacement is detectable here only because the experimenters repeated the measurement at three exposures and released all three. Had they released the \(2\times 10^3\) series alone — a complete dataset with textbook \(N^{-1/2}\) scatter and a sub-percent error bar — the bias would be invisible.

This is the answer to the first objection. The systematic is known in the sense that it can be found once someone varies the setting. It is not contained in the uncertainty that accompanies any single setting.

713.3.3 What the record does not decide

The same files support the second question. Taking the recorded values as an event list and forming the likelihood of the observed interval distribution under a point process gives \(\log L = -49\,126.4\) over \(168\,000\) values.

Now consider what is said to have produced those events:

\[ \begin {array}{rlrr} & \text {hypothesis} & \log L & B_{i0} \\ \hline 0 & \text {a particle traversed the apparatus} & -49\,126.4 & 1.000 \\ 1 & \text {a field excitation propagated} & -49\,126.4 & 1.000 \\ 2 & \text {a Bohmian corpuscle guided by a pilot wave} & -49\,126.4 & 1.000 \\ 3 & \text {a Nelsonian stochastic process realised a path} & -49\,126.4 & 1.000 \\ 4 & \text {a state on an algebra of observables was updated} & -49\,126.4 & 1.000 \\ 5 & \text {nothing traversed; two detectors became correlated} & -49\,126.4 & 1.000 \\ 6 & \text {an unnamed process } X \text { occurred} & -49\,126.4 & 1.000 \\ \end {array} \]
The likelihoods are equal because each hypothesis specifies the same intensity function and the same interval distribution. The ontological clause enters neither. The Bayes factor between any pair is unity and remains unity for any sample size: acquiring more data does not separate them.

Consequently the posterior equals the prior:

\[ \begin {array}{lrrrrrrrr} \text {prior} & H_0 & H_1 & H_2 & H_3 & H_4 & H_5 & H_6 & D_{\rm KL} \\ \hline \text {uniform} & .143 & .143 & .143 & .143 & .143 & .143 & .143 & 2\times 10^{-16} \\ \text {textbook} & .700 & .200 & .030 & .020 & .030 & .010 & .010 & 0 \\ \text {algebraic} & .050 & .150 & .050 & .050 & .600 & .050 & .050 & 0 \\ \text {deflationary} & .050 & .050 & .050 & .050 & .100 & .600 & .100 & 0 \\ \end {array} \]
The data contribute zero bits toward selecting among them. Whichever description is held after seeing the record is the one held before.
713.3.4 Two prior results bearing on this

The number of events is not fixed by the record either. In §701 the same simulated waveform yielded between \(59\) and \(3580\) counts depending on the threshold, a factor of \(61\), with no setting giving both full efficiency and no contamination. The question of what passed is posterior to the question of how many, and the latter is already undetermined by the signal.

And particle number is not a property of a state. Under the Unruh effect an observer accelerating at \(a\) through the inertial vacuum registers a thermal bath at \(T = \hbar a/2\pi c k_B\); the occupation number at fixed frequency rises from zero for the inertial observer to order unity and beyond as \(a\) increases. Whether there are particles, and how many, depends on the trajectory of the observer.

\[ \begin {array}{ll} \text {recorded} & \text {a list of values above a threshold} \\[3pt] \text {how many} & \text {a function of the threshold; factor } 61 \text { over the tested range} \\[3pt] \text {how much} & \text {biased by } 11.1\%\ \text {at low exposure;} \\ & \text {multiplicative, separation-independent, invisible in} \\ & \text {the reported } 0.09\%\ \text {uncertainty} \\[3pt] \text {what} & \text {likelihood identical across seven hypotheses;} \\ & \text {posterior equals prior; } 0 \text { bits} \\ \end {array} \]

The objection that these are known systematics is correct in one sense and misleading in another. The bias was found by varying a setting the experimenters happened to vary, and it is \(128\) times the uncertainty they quote. There is no procedure that finds such a bias without varying the setting, and no error budget that contains it beforehand.

The objection that the physics is settled does not engage the record at all. Substituting a field, a Bohmian corpuscle, a stochastic path, a state on an algebra, an unnamed process, or nothing whatever leaves every recorded value and every prediction unchanged. The word “electron” is supplied by the description, not by the measurement.

PIC
Figure 922: A multiplicative bias outside the quoted error budget, and a question the record does not decide. Data: the released superresolution measurement of 10.5281/zenodo.19351042, thirty HDF5 files comprising ten repetitions at each of three detection numbers over \(21\) source separations; counts are divided by the detection number throughout. (a) The three exposures. The \(10^4\) and \(10^5\) series overlie each other to within \(4\times 10^{-4}\); the \(2\times 10^3\) series sits above both. (b) Deviation from the \(10^5\) series. The \(2\times 10^3\) series is high by \(11.10\%\) with a standard deviation of \(0.084\%\) across separations. The shaded bands are the reported standard errors and are narrower than the line width. (c) The bias against the quoted uncertainty, logarithmic. At \(2\times 10^3\) detections the displacement is \(128\) times the error bar; at \(10^4\) the two are comparable and the displacement is consistent with zero. (d) The across-repetition scatter follows \(N^{-1/2}\) to within \(9\%\) at every exposure. The second moment behaves exactly as sampling theory requires while the first carries the offset. (e) The offset is multiplicative rather than additive: the ratio \(2\mathrm {k}/100\mathrm {k}\) has a coefficient of variation of \(0.076\%\) across separations against \(1.95\%\) for the difference, a factor of \(26\). Regressing the bias on separation gives a slope of \(-0.053\%\) per unit with \(p=0.40\). (f) Seven hypotheses about what produced the recorded events return identical likelihoods, \(\log L = -49\,126.4\) over \(168\,000\) values. The posterior therefore equals the prior under every prior scheme shown, and \(D_{\mathrm {KL}}(\text {posterior}\,\|\,\text {prior}) = 0\): the record contributes zero bits toward the choice.

713.4 Discrete or Continuous

The atomic constitution of matter is treated as established by several independent lines of evidence: Brownian motion, definite proportions, diffraction, and direct imaging. This subsection examines what those observations record and what the alternatives to “discrete atoms” would have to look like to be excluded.

713.4.1 What the disjunction presupposes

The question “is matter discrete or continuous?” requires that these be two determinate alternatives, one of which the data select. The observations are lists:

\[ \begin {array}{ll} \text {diffraction} & \{(\theta _i, I_i)\} \\ \text {Brownian motion} & \{(t_i, x_i)\} \\ \text {microscopy} & \{(x, y, \text {signal})\} \\ \end {array} \]
Neither term of the disjunction appears in any of them. Both are devices for generating such lists, and the lists are the same under either.

Forming the likelihood of the diffraction observables — six peak positions and intensities for silicon, computed from the geometric structure factor — gives \(\log L = 17.9585\). The same value obtains under each of the following:

\[ \begin {array}{rlr} & \text {hypothesis} & \log L \\ \hline 0 & \text {matter consists of discrete atoms} & 17.9585 \\ 1 & \text {matter is a continuous medium with periodic density} & 17.9585 \\ 2 & \text {matter is a field with localised maxima} & 17.9585 \\ 3 & \text {atoms exist but are not localisable} & 17.9585 \\ 4 & \text {the periodicity belongs to the scattering process} & 17.9585 \\ 5 & \text {an unnamed structure with the observed Fourier transform} & 17.9585 \\ 6 & \text {nothing; the detector response is periodic in angle} & 17.9585 \\ \end {array} \]
The Bayes factor between any pair is unity, and the posterior equals the prior under every prior scheme tried — uniform, textbook (\(0.85\) on \(H_0\)), continuum (\(0.60\) on \(H_1\)), instrumentalist (\(0.40\) on \(H_5\)) — with \(D_{\rm KL} = 0\) throughout. The observations contribute zero bits toward the disjunction.
713.4.2 Where the discreteness enters the diffraction calculation

The claim is sometimes made that diffraction shows discreteness directly. It does not, and the structure of the calculation shows why.

The geometric structure factor for the silicon cell,

\[ |F_{hkl}| = \Big |\sum _j e^{2\pi i(hx_j + ky_j + lz_j)}\Big | , \]
takes the values
\[ \begin {array}{rrrr} hkl & 2\theta \ [\deg ] & |F| & \sin \theta /\lambda \\ \hline 111 & 28.442 & 5.657 & 0.159 \\ 220 & 47.302 & 8.000 & 0.260 \\ 311 & 56.122 & 5.657 & 0.305 \\ 400 & 69.129 & 8.000 & 0.368 \\ 331 & 76.375 & 5.657 & 0.401 \\ 422 & 88.029 & 8.000 & 0.451 \\ \end {array} \]
and depends only on the lattice positions. It is identical whether the density at those positions is a delta function or a smooth distribution, because
\[ F(\mathbf {G}) = \int \rho (\mathbf {r})\, e^{i\mathbf {G}\cdot \mathbf {r}}\, d^3r \]
is the Fourier transform of whatever \(\rho \) is. The two accounts differ only in the atomic scattering factor \(f(\mathbf {G})\), which multiplies the geometric term.

And \(f(\mathbf {G})\) is not fitted. It is taken from tabulated Cromer–Mann coefficients, computed from atomic wavefunctions. The discreteness is supplied to the refinement as an input and recovered from it as a result — the structure identified in §701.7, where the exponent recovered from the level table was the exponent used to build it.

713.4.3 Brownian motion: the limit is temporal resolution

Perrin’s determination of \(N_A\) proceeds through

\[ \langle x^2\rangle = 2Dt, \qquad D = \frac {RT}{6\pi \eta a N_A} , \]
which requires \(R\), \(T\), the viscosity \(\eta \), and the particle radius \(a\). The last two are measured by a viscometer and a microscope, and the relation is Stokes drag — continuum hydrodynamics. What is obtained is a conversion, not a test of discreteness.

Whether discreteness could be detected in the displacement record is a question about moments. Simulating displacements as a sum of \(n\) independent impulses per observation interval:

\[ \begin {array}{rrr} \text {impulses per frame} & \text {kurtosis} & |k-3|/3 \\ \hline 1 & 6.058 & 102\% \\ 3 & 3.998 & 33\% \\ 10 & 3.228 & 7.6\% \\ 30 & 3.102 & 3.4\% \\ 100 & 3.016 & 0.5\% \\ 10^{4} & 2.975 & 0.8\% \\ 10^{12} & 2.993 & 0.2\% \\ \end {array} \]
Above roughly thirty impulses per frame the increments are Gaussian to within the sampling error. For a micron-scale colloid in water the molecular collision rate is of order \(10^{19}\,\mathrm {s^{-1}}\) and Perrin’s frame interval was about \(1/30\) s, giving \(\sim 3\times 10^{17}\) impulses per observation.

So the record is Gaussian by the central limit theorem, and would be Gaussian whether the impulses were molecular collisions or a continuous stochastic forcing. This is a statement about the observation interval, not an impossibility in principle: at low enough impulse rate the two are distinguishable, and the regime in which the measurement was made is not that one.

713.4.4 The extension is not fixed either

Suppose the disjunction is settled in favour of atoms. The object so posited does not thereby acquire a size. From the tabulated radii distributed with standard atomic-simulation software:

\[ \begin {array}{lrrrr} & \text {covalent} & \text {vdW (Bondi)} & \text {vdW (Alvarez)} & \max /\min \\ \hline \mathrm {H} & 0.31 & 1.20 & 1.20 & 3.87 \\ \mathrm {C} & 0.76 & 1.70 & 1.77 & 2.33 \\ \mathrm {Si} & 1.11 & 2.10 & 2.19 & 1.97 \\ \mathrm {Cu} & 1.32 & 1.40 & 2.38 & 1.80 \\ \mathrm {Au} & 1.36 & 1.66 & 2.32 & 1.71 \\ \end {array} \]
in Å. The two van der Waals scales, nominally measuring the same quantity, differ for copper by a factor of \(1.70\). Whether two atoms are in contact is a statement about which table was consulted.
713.4.5 Three layers
\[ \begin {array}{ll} \text {(i) do the data select between the two?} & \text {no: } \log L \text { identical, } D_{\rm KL}=0 \\[3pt] \text {(ii) is the indistinguishability in principle?} & \text {no: it is set by the observation interval} \\[3pt] \text {(iii) do the two terms come from the data?} & \text {no} \\ \end {array} \]

The third contains the first two. “Discrete” and “continuous” are categories of the description; the diffraction pattern is a list of angles and counts, and the displacement record is a list of coordinates. Asking which of the two the list supports presumes that the list is a list of one or the other, which is what was to be shown.

The calculation makes the direction of entry visible. Discreteness enters the refinement through \(f(\mathbf {G})\), a tabulated function computed from atomic wavefunctions, and is read off from the refined result. It is not that the alternative has been excluded. It is that the alternative was never in the computation.

713.5 Brownian motion reduces to integers and constants

The determination of \(N_A\) from Brownian motion is presented as the measurement that settled the atomic question. Following it down gives the same terminus as every other chain in this work.

What Perrin recorded was a pair of integers per observation: the index of a squared cell on a microscope reticle, and a stopwatch tick. Converting these into \(\langle x^2\rangle \) and \(t\) requires

\[ \begin {array}{ll} \text {cell index} \to \text {length} & \leftarrow \text {objective magnification} \leftarrow \text {stage micrometer} \leftarrow \text {metre} \\ \text {tick} \to \text {second} & \leftarrow \text {clock rate} \leftarrow \text {the second} \\ \end {array} \]
and the diffusion coefficient is the slope of the mean squared displacement, in \(\mathrm {m^2\,s^{-1}}\): a length squared over a time, both carried by conventions. With \(R = 8.3145\), \(T = 293.15\) K, \(\eta = 1.002\times 10^{-3}\) Pa s, \(a = 0.5\ \mu \)m and \(D = 4.3\times 10^{-13}\ \mathrm {m^2 s^{-1}}\), the expression \(N_A = RT/6\pi \eta a D\) returns \(6.00\times 10^{23}\ \mathrm {mol^{-1}}\).
713.5.1 Each remaining quantity is inside the atomic account

The gas constant. \(R\) is obtained from \(PV = nRT\), in which \(n\) is the amount of substance. The amount is not measured directly: it is the sample mass divided by the molar mass, and the molar mass is the atomic weight on a scale defined by \(^{12}\mathrm {C} = 12\) — that is, by the mass of one carbon atom. Determining \(R\) therefore requires knowing the mass of an atom, which is the quantity \(N_A\) was introduced to supply.

The circularity does not depend on the 2019 redefinition. It is present in the nineteenth-century determination.

The temperature. \(T\) on the thermodynamic scale was realised by gas thermometry, which uses the equation of state and therefore \(R\) itself. Modern realisations — acoustic and dielectric-constant thermometry — substitute a different equation of state but do not remove the dependence. The chain then continues into §371.10, where \(T_{\rm thermodynamic} \leftrightarrow \) ITS-90 was found to be a cycle.

The viscosity. Here the dependence appears whichever route is taken.

Computing \(\eta \) from kinetic theory gives \(\eta \simeq \tfrac {1}{3}\rho \,\bar {v}\,\lambda \), where the mean free path \(\lambda \) is a function of the molecular diameter and the number density. That route presupposes the molecules being counted.

Measuring \(\eta \) in a viscometer avoids that, but the measurement is reduced through Poiseuille or Stokes flow, and the factor \(6\pi \eta a\) appearing in Perrin’s expression is Stokes drag: a result of continuum hydrodynamics, valid in the limit where the medium has no molecular structure. The expression used to count the molecules is derived on the assumption that they are not there.

\[ \begin {array}{ll} \eta \ \text {from kinetic theory} & \text {presupposes the molecular number} \\ \eta \ \text {from a viscometer} & \text {enters through Stokes drag, a continuum result} \\ \end {array} \]

What is left. Of the five quantities, three — \(R\), \(T\), \(\eta \) — are already inside the account being tested. The remaining two, \(a\) and \(D\), are a length and a length squared per time: the integer record multiplied by the metre and the second.

713.5.2 The dimensional content

Taking dimensions,

\[ [RT] = \mathrm {kg\,m^2\,s^{-2}\,mol^{-1}}, \qquad [\eta \,a\,D] = \mathrm {kg\,m^{-1}s^{-1}}\cdot \mathrm {m}\cdot \mathrm {m^2\,s^{-1}} = \mathrm {kg\,m^2\,s^{-2}} , \]
so that
\[ [N_A] = \mathrm {mol^{-1}} . \]
Every mechanical dimension cancels. What the measurement determines is a number per mole and nothing else; the length, mass and time conventions enter both numerator and denominator and leave.

And the mole is a number. Before 2019 it was the amount of substance containing as many entities as there are atoms in \(0.012\) kg of \(^{12}\)C — so the measurement was of the number of atoms in a mass of atoms. Since 2019 it contains exactly \(6.02214076\times 10^{23}\) entities by definition.

\[ \begin {array}{lrr} & N_A\ [\mathrm {mol^{-1}}] & \text {vs 2019 SI} \\ \hline \text {Perrin 1909} & 7.05\times 10^{23} & +17\% \\ \text {Perrin 1913} & 6.85\times 10^{23} & +14\% \\ \text {SI 2019} & 6.02214076\times 10^{23} & \text {exact by definition} \\ \end {array} \]

The determination credited with establishing the existence of atoms differs from the currently adopted value by fourteen to seventeen per cent, and the currently adopted value was not narrowed to its present figure by measurement. It was adopted.

713.5.3 The terminus
\[ \begin {array}{ll} \text {recorded} & \{(n_i, m_i)\},\ n\ \text {a reticle cell},\ m\ \text {a tick} \\ \text {multiplied by} & \text {a length scale and a time scale} \\ \text {combined with} & R,\ T,\ \eta \ \text {--- each requiring the atomic account} \\ \text {through} & \text {Stokes drag --- a continuum result} \\ \text {yielding} & \text {a number per mole} \\ \text {the mole} & \text {a number of atoms} \\ \end {array} \]

The measurement is a pair of integers; the physical quantity is those integers multiplied by conventions; and the number finally reported is a count of atoms in a unit defined as a count of atoms, obtained through constants that presuppose them and a drag law that denies them.

713.6 The Nanometre Scale of an STM Image is Imported

Section 699.1 argued that an instrument is constituted by the theory it is taken to confirm. The raw headers of a public STM dataset let that claim be checked rather than asserted. We use 678 Nanonis .sxm files of WSe\(_2\) [279], and read only what the instrument itself recorded.

713.6.1 What the Image Supplies, and What the Header Supplies

An STM topograph is an array indexed by pixels. The only length the image itself determines is a period in pixels, obtained from the position of the ring in \(|\mathrm {FFT}|\):

\begin{equation} \lambda _{\mathrm {px}} = 1/k^{*}. \tag{24647}\end{equation}
Across 434 frames that resolve the row spacing at four pixels or more,
\begin{equation} \mathrm {median}\ \lambda _{\mathrm {px}} = 13.159\ \text {px}. \tag{24648}\end{equation}

Everything else is a conversion. In the Nanonis controller the scan range is set by a commanded voltage through the high-voltage amplifier and the piezo calibration constant:

\begin{equation} L_{\mathrm {scan}} = V_{\mathrm {scan}}\, G\, C, \qquad \frac {\mathrm {nm}}{\mathrm {px}} = \frac {V_{\mathrm {scan}}\, G\, C}{N}. \tag{24649}\end{equation}

Quantity Value Unit Origin
\(C\) (Calib. X) \(1.539\times 10^{-8}\) m/V piezo calibration file, dated
\(G\) (HV Gain X) \(7\) — amplifier setting
\(V_{\mathrm {scan}}\) \(0.2321\) V commanded by the operator
\(N\) \(1024\) — commanded by the operator
nm per px \(2.4414\times 10^{-2}\) nm \(=V G C/N\)

Reconstructing the reported scan range from \(V G C\) gives, over all 678 files,

\begin{equation} \left |\frac {L_{\mathrm {recon}} - L_{\mathrm {reported}}}{L_{\mathrm {reported}}}\right | \;:\quad \text {median } 0.000, \qquad \text {max } 2.07\times 10^{-16}. \tag{24650}\end{equation}
The maximum is floating-point rounding. The scan range is not measured and then compared with \(VGC\); it is \(VGC\).
713.6.2 One Calibration, Entered Everywhere

All 678 files reference a single calibration set:

\begin{equation} \texttt {Active Calib.} = \texttt {LN2-2018Oct09\_XY}, \qquad n = 678 . \tag{24651}\end{equation}
The name carries its date. A constant fixed in October 2018 was imported unchanged into every measurement in this 2021 campaign.

The constant is obtained in the standard way: image a specimen whose lattice constant is assumed, and adjust \(C\) until the observed period matches the assumed value. Hence

\begin{equation} \underbrace {a_{\mathrm {assumed}}}_{\text {crystallography}} \;\longrightarrow \; C \;\longrightarrow \; \lambda _{\mathrm {nm}} \;\approx \; a . \tag{24652}\end{equation}
713.6.3 The Period Follows the Calibration

If the calibration is doing the work, then \(\lambda _{\mathrm {px}}\) should track \(d_{nn}/(\mathrm {nm/px})\) — the pixel period a lattice of spacing \(d_{nn}\) would occupy under that conversion. Fitting in logs over the 434 frames:

\begin{equation} \log \lambda _{\mathrm {px}} = 0.9529 \,\log \!\left (\frac {d_{nn}}{\mathrm {nm/px}}\right ) + 0.0799, \qquad R^{2} = 0.9674 . \tag{24653}\end{equation}
The slope is \(0.95\), close to unity, across scan sizes spanning a factor of one hundred. Changing the acquisition changes \(\lambda _{\mathrm {px}}\) in exactly the way that keeps \(\lambda _{\mathrm {nm}}\) fixed.
713.6.4 The Residual Offset, and Why the Image Cannot See It

With \(a = 0.328\) nm and \(d_{nn} = \sqrt 3\,a/2 = 0.2841\) nm,

\begin{equation} \lambda _{\mathrm {nm}} = 0.2712\ \mathrm {nm}, \qquad \frac {\lambda _{\mathrm {nm}}}{d_{nn}} = 0.9548 . \tag{24654}\end{equation}
The deficit is \(4.5\%\), and it is systematic rather than scattered. Propagating a hypothetical error in \(C\):

\(\delta C/C\) reported spacing (nm) ratio to \(d_{nn}\)
\(-10\%\) \(0.2441\) \(0.8593\)
\(-5\%\) \(0.2577\) \(0.9071\)
\(0\) \(0.2712\) \(0.9548\)
\(+5\%\) \(0.2848\) \(1.0025\)
\(+10\%\) \(0.2983\) \(1.0503\)

The dependence is one for one, and a shift of about \(+4.7\%\) in \(C\) would place the ratio at unity. Nothing in the image detects such a shift, because the image supplied only \(\lambda _{\mathrm {px}}\); the nanometres entered afterwards.

713.6.5 Drift Larger than the Spacing Being Reported

The headers also record the thermal drift rate and whether drift correction was active. Over the acquisition time,

mean median max
acquisition time (s) \(979\) \(191\) \(9400\)
accumulated drift (nm) \(1.92\) \(0.684\) \(17.6\)
drift \(/\ d_{nn}\) \(6.77\) \(2.41\) \(61.9\)
drift \(/\ L_{\mathrm {scan}}\) (%) \(7.29\) \(7.13\) \(28.0\)

with Drift correction status reading FALSE in 356 of the 678 files. The median accumulated drift is \(2.4\) times the spacing being reported.

713.6.6 Where the Chain Terminates

Constant Status Role in this measurement
\(N_{\mathrm {A}}\) exact by definition (2019) amount of substance
\(e\) exact by definition (2019) the current is quoted in these units
\(h\) exact by definition (2019) the tunnelling expression
\(\nu _{\mathrm {Cs}}\) exact by definition (1967) the second, hence every rate
\(d_{220}(\mathrm {Si})\) CODATA recommended the metre reaches the lattice scale
\(C\) instrument file, dated volts into reported nanometres

The first four are fixed by declaration. The metre reaches the lattice scale through \(d_{220}(\mathrm {Si})\), which is itself a lattice spacing. The last is set by matching an assumed lattice constant.

713.6.7 Result
\begin{equation} \boxed { \underbrace {\lambda _{\mathrm {px}} = 13.159}_{\text {from the sample}} \times \underbrace {\frac {V G C}{N}}_{\text {identity, error } 0} = 0.2712\ \mathrm {nm} = 0.9548\, d_{nn} .} \tag{24655}\end{equation}
PIC
Figure 923: The pixel period follows the calibration; the nanometre period follows \(d_{nn}\). Left: for each of 434 frames that resolve the row spacing at four pixels or more, the period measured in pixels is plotted against \(d_{nn}/(\text {nm per pixel})\) — the pixel period a lattice of spacing \(d_{nn}\) would occupy under the conversion the header supplies. The dashed line is slope one. A log–log fit gives slope \(0.953\) with \(R^{2}=0.967\) across scan sizes spanning two orders of magnitude, so changing the acquisition changes the pixel period in precisely the way that leaves the reported nanometre period fixed. Right: the resulting distribution of \(\lambda _{\mathrm {nm}}/d_{nn}\), median \(0.9548\). The deficit of \(4.5\%\) is systematic rather than scattered, which is the signature of an offset in the calibration constant rather than of measurement noise. Data: 678 raw Nanonis .sxm files of WSe\(_2\) [279].
PIC
Figure 924: The reported lattice constant tracks the calibration one for one. A hypothetical error in the piezo calibration constant \(C\) is propagated through \(\lambda _{\mathrm {nm}}=\lambda _{\mathrm {px}}\cdot V G C/N\) and plotted as the ratio of the reported spacing to \(d_{nn}\). The dependence is linear with unit slope, since \(C\) enters the reported length as a multiplicative factor. The dotted vertical line marks the calibration actually used, at which the ratio is \(0.9548\); a shift of about \(+4.7\%\) in \(C\) would place the ratio at unity (dashed horizontal line). No feature of the image detects such a shift, because the image supplied only \(\lambda _{\mathrm {px}}\) and the nanometres entered afterwards.

Remark 713.2. The agreement between an STM period and a crystallographic spacing is often cited as two independent methods meeting. The headers show that they are not independent. The calibration constant was obtained by requiring the agreement, and the reported nanometres are that constant read back out. What the sample supplied was a pixel count.

This is the structure of Section 805.2: a validation chain with no member independent of its predecessors,

\begin{equation} \nexists \, V_k : \quad V_k \perp \{V_1,\dots ,V_{k-1}\}, \tag{24656}\end{equation}
with \(V_n\) here running crystallography \(\to \) calibration \(\to \) reported spacing \(\to \) confirmation of crystallography. The reproducibility is real and the numbers are stable, but what they exhibit is the internal consistency of the procedure. Consistency is what a valid derivation delivers; soundness would require the premises, and the premise here is the constant that was entered.

Remark 713.3 (What is not claimed, in either direction). The argument establishes nothing about whether matter is composed of atoms. It does not show the atomic model to be false; equally, it does not show it to be true. Both readings would require the agreement to carry evidential weight in one direction or the other, and the point is that it carries none: the quantity compared against \(d_{nn}\) was constructed using \(d_{nn}\).

The \(R^2 = 0.967\) scaling and the tight distribution about \(0.955\,d_{nn}\) do establish something — that the apparatus behaves lawfully, and that the conversion is applied consistently. That is a fact about the procedure. It is not a fact about what the surface is made of, and it cannot be converted into one by repetition.

Nor does anything here indicate that the instrument is unreliable. An instrument that returns \(VGC/N\) times a pixel count is doing exactly what it was built to do. The error would lie in reading the output as a determination of \(a\) rather than as a restatement of \(C\).

Remark 713.4 (The Constants Are Constant While the Conditions Are Not). Reading the headers of 100 files side by side separates the fields that vary from those that do not.

Header field Distinct values
fixed across the set
Piezo Calibration>Active Calib. 1 LN2-2018Oct09_XY
Calib. X (m/V) 1 \(1.539\times 10^{-8}\)
Calib. Y (m/V) 1 \(1.681\times 10^{-8}\)
Calib. Z (m/V) 1 \(2.2\times 10^{-9}\)
HV Gain X, HV Gain Y 1 \(7\)
REC_TEMP 1 \(290.0\) K
varying across the set
SCAN_RANGE 10 \(2\) to \(200\) nm
SCAN_PIXELS 4 \(256\) to \(2048\)
BIAS 4
Z-Controller>Setpoint 8
ACQ_TIME 37
Scan>Scanfield 67

The acquisition was varied along every axis the operator controls. The conversion from volts to nanometres was not varied at all. Over the full set of 678 files the sampling density spans

\begin{equation} 1.45 \;\leq \; \frac {\text {px}}{d_{nn}} \;\leq \; 145, \tag{24657}\end{equation}
a factor of a hundred, across 32 distinct combinations of scan size and pixel count. Through all of it a single calibration constant was applied.

Two further readings of the same table.

First, the calibration is named for the conditions under which it was made. LN2 denotes liquid nitrogen, and the date is October 2018. The files record

\begin{equation} \texttt {REC\_TEMP} = 290.0\ \mathrm {K}, \tag{24658}\end{equation}
that is, room temperature, in November 2021. Piezoelectric coefficients depend on temperature, so a constant obtained near \(77\) K and applied at \(290\) K is not expected to be exact. This supplies a candidate for the systematic \(4.5\%\) deficit reported in Section 713.6: it is the size of offset that a mismatch of this kind would produce, and it would be invisible to any feature of the image, since the image supplies only \(\lambda _{\mathrm {px}}\).

Second, the dataset description states acquisition at liquid nitrogen temperature, while the headers record \(290\) K. We note the discrepancy without resolving it; what matters here is that the number carried into every reported length came from the header, and the header says the calibration and the measurement were made under different conditions.

What this adds. Section 713.6 showed that the reported spacing is the calibration read back out. This table shows that the calibration was held fixed while everything else was varied, and that it was inherited from a different thermal state three years earlier. The stability of the reported spacing across a hundredfold change in sampling is therefore stability of a constant, not agreement of independent determinations.

Circular validation in atomic-scale metrology.

crystallography \(\to \) calibration \(\to \) reported spacing \(\to \) confirmation of crystallography

Reality: STM calibration is derived from crystallography. The two methods are not independent — the agreement is circular, not confirmatory.

713.7 Which Periods Get Called Atoms

Section 713.6 showed that the nanometre scale is imported through the calibration constant. This subsection asks a separate question about the same 678 frames: given a set of measured periods, which of them are named as the lattice, and on what basis.

713.7.1 The Range of Periods Returned

Every frame was scored for six-fold azimuthal content in \(|\mathrm {FFT}|\) and its dominant period extracted. Across the set the ratio \(\lambda /d_{nn}\) takes values

\begin{equation} \lambda /d_{nn} \;\in \; \{\,0.06,\ 0.88,\ 0.97,\ 1.67,\ 1.76,\ 2.86,\ 17.2,\ 22.9,\ \ldots \} \tag{24659}\end{equation}

and the score distribution is as follows.

Percentile score scan (nm) pixels px per \(d_{nn}\) \(\lambda /d_{nn}\)
100th \(0.740\) \(5\) \(256\) \(14.5\) \(1.668\)
99th \(0.553\) \(5\) \(256\) \(14.5\) \(0.941\)
90th \(0.403\) \(3\) \(256\) \(24.2\) \(0.895\)
50th \(0.238\) \(50\) \(1024\) \(5.8\) \(1.757\)
10th \(0.146\) \(25\) \(1024\) \(11.6\) \(0.883\)
0th \(0.000\) \(100\) \(2048\) \(5.8\) —

Two entries deserve attention. The highest-scoring frame in the entire set returns \(\lambda /d_{nn} = 1.668\), and \(\sqrt 3 = 1.732\); the strongest periodic signal present is therefore not the row spacing but a \(\sqrt 3\) superstructure. The median frame likewise returns \(1.757\).

713.7.2 Frames Below the Sampling Limit Score Like Typical Frames

Five frames sample \(d_{nn}\) at fewer than two pixels, where no lattice period can be present in the data. Their scores are

\begin{equation} 0.136 \;\leq \; \text {score} \;\leq \; 0.273, \tag{24660}\end{equation}
and the median score over all 678 frames is \(0.238\), which lies inside that interval. The periods these frames return are
\begin{equation} \lambda /d_{nn} = 13.4,\ 17.2,\ 17.3,\ 21.7,\ 22.9, \tag{24661}\end{equation}
between thirteen and twenty-three times the spacing. A detector applied uniformly assigns them the same standing as frames that do resolve the lattice.
713.7.3 The Flattening Choice Moves the Score by a Factor of Two

On one raw array (Figure 927), five standard flattening choices give

Flattening score \(\lambda \) (nm)
raw \(0.653\) \(0.4665\)
plane subtracted \(0.653\) \(0.4667\)
line, order 1 \(0.740\) \(0.4738\)
line, order 3 \(0.507\) \(0.4686\)
line, order 7 \(0.309\) \(0.4781\)

The period is stable to about \(2\%\) while the score moves by a factor of \(2.4\). How clearly a lattice appears is thus largely a property of the processing; what period is present is not.

713.7.4 The Naming Step

Nothing in the list of measured periods marks one of them as the lattice. That is supplied afterwards:

\(\lambda /d_{nn}\) Usual name
\(0.88\)–\(0.99\) the atomic lattice
\(1.6\)–\(1.8\) a \(\sqrt 3\) superstructure
\(2.9\) a moiré
\(13\)–\(23\) drift, grains, or noise

The assignment runs by proximity to an expected value:

\begin{equation} \text {name} = f(\text {expectation}), \qquad \text {expectation} \leftarrow a_{\mathrm {assumed}} . \tag{24662}\end{equation}
A period near \(0.9\,d_{nn}\) is called the lattice; one far from it is given another name. Which frames are published follows the same rule, and the strongest signal in this set — the \(\lambda /d_{nn} = 1.67\) frame at score \(0.740\) — is not the one that would ordinarily be shown as an atomic image.
713.7.5 The Circle Closes Twice
\begin{equation} \underbrace {a_{\mathrm {assumed}}}_{\text {model}} \;\longrightarrow \; \underbrace {C}_{\text {calibration}} \;\longrightarrow \; \lambda _{\mathrm {nm}} \;\longrightarrow \; \underbrace {\text {``this is the atomic lattice''}}_{\text {naming}} \;\longrightarrow \; \underbrace {a_{\mathrm {assumed}}}_{\text {model}} \tag{24663}\end{equation}

The constant that converts pixels to nanometres came from the model, and the criterion that selects which period counts as the lattice comes from the model as well. What the image contributed was \(\lambda _{\mathrm {px}}\).

Remark 713.5. Calling a bright maximum an atom is an interpretation, not a reading. This is not a complaint about sloppiness; the interpretation may well be correct, and nothing here bears on whether it is. The point is that the interpretation is doing work that is often attributed to the image. Two distinct steps are involved — converting a pixel period into nanometres, and deciding which nanometre period is the lattice — and both are supplied by the model whose confirmation the image is taken to provide.

The same structure governs the defect labels distributed with this dataset. Categories such as Small Bright Trough and Large Dim Peak sort features by size, contrast and sign. Size depends on the scan range, contrast on the flattening, and sign on the bias, so the category assigned to a feature is a function of the acquisition. And a defect is defined as a departure from the lattice, so the lattice must be fixed before any defect can be counted — which returns us to the naming step above.

PIC
Figure 925: The twenty-four frames with the highest six-fold content, of 678. Each title gives the score, the scan range and pixel count, the extracted period in nanometres with its ratio to \(d_{nn}=0.2841\) nm, and the sampling density in pixels per \(d_{nn}\). The highest-scoring frame in the entire set, at score \(0.740\), returns \(\lambda /d_{nn}=1.668\), close to \(\sqrt 3=1.732\): the strongest periodic signal available is a superstructure rather than the row spacing. Frames returning \(0.88\) to \(0.99\) appear further down. Which of these would be published as an atomic image is settled by proximity to the expected value, not by the score.
PIC
Figure 926: Frames that sample \(d_{nn}\) at fewer than two pixels. At \(1.5\) pixels per \(d_{nn}\) no lattice period can be present in the data, yet the same detector returns scores of \(0.136\) to \(0.273\) for these frames, while the median over all 678 frames is \(0.238\). The periods returned are \(13\) to \(23\) times \(d_{nn}\). Applied uniformly, the procedure gives frames in which the lattice cannot appear the same standing as frames in which it can.
PIC
Figure 927: One raw array under five standard flattening choices. Top row, the images; bottom row, \(|\mathrm {FFT}|\) with the resulting score and period. The extracted period is stable to about two percent (\(0.4665\) to \(0.4781\) nm) while the score moves from \(0.309\) to \(0.740\), a factor of \(2.4\). How clearly a lattice appears is therefore largely a property of the processing; which period is present is not. No pixel of the underlying array differs between the five panels.

713.8 The Search Window is Set by the Expected Answer

Sections 713.6 and 713.7 inferred that the reported lattice constant is constrained by the value assumed beforehand. The inference can be checked directly. Gwyddion is the standard open-source package for scanning probe data, and its lattice measurement is performed by gwy_data_field_measure_lattice_acf in libprocess/correct.c. The relevant lines are short enough to quote in full.

713.8.1 The Documented Behaviour

The function’s own documentation states the two modes:

When the vectors in a1a2are zero the function attempts to estimate the lattice from scratch. But if a1a2 contains two non-zero vectors it takes them as approximate lattice vectors to improve.

So an initial guess, once supplied, is not tested against the data. It is improved.

713.8.2 The Window
static gboolean
refine_lattice(GwyDataField *dfield, gdouble *a1a2, gboolean is_psdf)
{
    gint xwinsize, ywinsize;
    gdouble r, dx, dy;

    dx = dfield->xreal/dfield->xres;
    dy = dfield->yreal/dfield->yres;
    xwinsize = (gint)(0.32*MAX(fabs(a1a2[0]), fabs(a1a2[2]))/dx + 0.5);
    ywinsize = (gint)(0.32*MAX(fabs(a1a2[1]), fabs(a1a2[3]))/dy + 0.5);

    r = refine_from_multiple(dfield, a1a2, 1, 2, xwinsize, ywinsize);

    if (is_psdf)
        return r >= 0.75;

    if (r == 1.0) {
        xwinsize = 5*xwinsize/6;
        ywinsize = 5*ywinsize/6;
        r = refine_from_multiple(dfield, a1a2, 3, 25, xwinsize, ywinsize);
    }

    if (r == 1.0) {
        xwinsize = 7*xwinsize/8;
        ywinsize = 7*ywinsize/8;
        r = refine_from_multiple(dfield, a1a2, 5, 29, xwinsize, ywinsize);
    }

    return r >= 0.5;
}

The search radius is

\begin{equation} w = 0.32 \times \frac {|a_{\mathrm {input}}|}{\Delta x}, \tag{24664}\end{equation}
a fixed fraction of the vector supplied. The reported lattice is therefore confined to
\begin{equation} \boxed {a_{\mathrm {measured}} \in \bigl [\,0.68\,a_{\mathrm {input}},\ 1.32\,a_{\mathrm {input}}\,\bigr ],} \tag{24665}\end{equation}
and on success the window is narrowed twice further, to \(0.267\) and then \(0.233\) of the input length.
713.8.3 What This Excludes

Our own scan of the same 678 frames searched the whole range \(k \in [0.03,\,0.49]\) and returned

\(\lambda /d_{nn}\) Inside the window? Note
\(0.06\) no
\(0.88\) yes
\(0.97\) yes
\(1.67\) no highest-scoring frame in the set
\(1.76\) no median frame
\(2.86\) no
\(17.2\) no below the sampling limit
\(22.9\) no below the sampling limit

The frame scoring highest for six-fold content in the entire dataset returns \(\lambda /d_{nn} = 1.668\), which lies outside \([0.68, 1.32]\) and cannot be reported by the bounded procedure. Neither can the median frame at \(1.757\). What the bounded procedure returns for a \(d_{nn}\) input is a value near \(d_{nn}\).

\begin{equation} \text {unbounded search} \;\Longrightarrow \; \text {a spread of periods}, \qquad \text {bounded search} \;\Longrightarrow \; \text {the expected period}. \tag{24666}\end{equation}
713.8.4 The Acceptance Criterion

Two further constants set what counts as a successful measurement.

    if (is_psdf)
        return r >= 0.75;
    ...
    return r >= 0.5;

A refinement returning \(r = 0.5\) is reported as success, and the function’s documentation describes its return value as

TRUE if good lattice vectors were found, FALSE on failure.

A separate check rejects lattices whose vectors come too close together:

    if (hypot(a1a2[0] - a1a2[2], a1a2[1] - a1a2[3])
        < 1.8*hypot(dx, dy)) {
        gwy_debug("too skewed");
        return FALSE;
    }

so a candidate is discarded when its two vectors differ by less than \(1.8\) pixels. The thresholds \(0.32\), \(0.75\), \(0.5\) and \(1.8\) are constants in the source; none is derived from the image.

713.8.5 Result
\begin{equation} \boxed { a_{\mathrm {assumed}} \;\longrightarrow \; w = 0.32\,a_{\mathrm {assumed}} \;\longrightarrow \; a_{\mathrm {measured}} \approx a_{\mathrm {assumed}} .} \tag{24667}\end{equation}

Remark 713.6. This is not a defect in Gwyddion. Refining a known lattice is a legitimate and useful operation, the function documents exactly what it does, and a zero input triggers estimation from scratch rather than refinement. The observation concerns what a number produced this way can be used to establish.

Section 713.6 showed that the nanometre scale enters through the piezo constant, itself obtained by matching an assumed lattice constant. This subsection shows that the period extracted from the image is confined to a window set by the same assumed value. Both steps run in the same direction, and both are visible in the record: one in the file headers, one in the source.

The difference between our unbounded scan and the bounded refinement is not in the data. It is in the search interval, and the search interval is supplied before the measurement begins.

Remark 713.7 (On checking rather than inferring). The earlier sections argued from headers that a circularity was present. Here the argument is not needed: the constant \(0.32\) appears in the source, and its consequence follows arithmetically. Where an inference about instrumentation can be replaced by reading the code that implements it, the replacement is worth making — the code is public, and it settles what the headers could only indicate.

713.9 An Assumption Confirming Itself is Not a Confirmation

The point of this section is easily mistaken for an objection to assuming things, which it is not. Every measurement runs on assumptions, and there is nothing defective about that. Two separate questions have to be kept apart:

Question Status
Does the procedure work as designed? answered, and affirmatively
Are its assumptions correct? not addressed by that answer

Consider the refinement routine of a standard analysis package. It takes an approximate lattice vector, opens a window of a fixed fraction of that vector’s length, and reports the maximum found inside:

\begin{equation} w = 0.32\,\frac {|a_{\text {input}}|}{dx}, \qquad a_{\text {output}} \in \bigl [\,0.68\,a_{\text {input}},\ 1.32\,a_{\text {input}}\,\bigr ]. \tag{24668}\end{equation}
The documentation is explicit that this is what it does: given non-zero input vectors, it takes them as approximate lattice vectors to improve.

Given \(a_{\text {input}} = d_{nn}\), the routine returns a value near \(d_{nn}\). This is correct behaviour. The code does exactly what it says, the window is a sensible engineering choice, and a refinement routine that ignored its starting point would be a worse refinement routine. Nothing here is a bug and nothing here is bad practice.

What does not follow is the inference usually drawn from the output.

\begin{equation} \underbrace {a_{\text {input}} = d_{nn}}_{\text {assumed}} \;\longrightarrow \; \underbrace {\text {bounded search}}_{\text {procedure}} \;\longrightarrow \; \underbrace {a_{\text {output}} \approx d_{nn}}_{\text {reported}} \;\longrightarrow \; \underbrace {\text {``}d_{nn}\text { confirmed''}}_{\textbf {does not follow}} \tag{24669}\end{equation}

The last arrow is the error, and it is an inferential error rather than a computational one. An output that agrees with an input is what a correctly functioning procedure produces when the input was right and also when it was wrong. The agreement therefore carries no information about which case obtains:

\begin{equation} P\bigl (a_{\text {out}} \approx a_{\text {in}} \,\bigm |\, a_{\text {in}} \text { correct}\bigr ) \approx 1, \qquad P\bigl (a_{\text {out}} \approx a_{\text {in}} \,\bigm |\, a_{\text {in}} \text { incorrect}\bigr ) \approx 1 . \tag{24670}\end{equation}
The likelihood ratio is unity, so the posterior equals the prior. This is the same structure as the reinspection of an intermittent fault (Section 805.2) and as the piezo calibration read back out (Section 713.6).

Our own scan illustrates what the bounded window excludes. Searching \(k \in [0.03, 0.49]\) over 678 frames returned

\begin{equation} \lambda /d_{nn} \in \{\,0.06,\ 0.88,\ 0.97,\ 1.67,\ 1.76,\ 2.86,\ 17.2,\ 22.9,\ \dots \}, \tag{24671}\end{equation}
with the single highest-scoring frame at \(1.67\). That value lies outside \([0.68, 1.32]\) and cannot be returned by a refinement started at \(d_{nn}\). The two procedures differ in what they can report, and not in the data they are given.

Sound Unsound
Assuming \(a \approx d_{nn}\) yes —
Searching near it yes —
Reporting what is found there yes —
Calling the result a confirmation of \(d_{nn}\) — yes

The first three rows are ordinary and correct scientific practice. The fourth is a claim about evidence, and the evidence does not reach that far. What the procedure established is that it was applied; what it did not establish is that its starting point was right. Both facts are worth having, and only the first was obtained.

Remark 713.8 (The Constants Are in the Source). Sections 713.6 and 713.7 treated the processing choices as parameters an operator selects. In the standard open-source analysis package for scanning probe data they are compiled in. Reading the source locates them exactly.

Lattice detection: five hardcoded thresholds

The routine guess_lattice in libprocess/correct.c is the path taken when no expected lattice vectors are supplied — the “from scratch” branch. It marks local maxima of the autocorrelation or power spectrum and selects two of them as basis vectors. Five constants govern the selection.

Constant Code

What it decides

\(1.8\) if (d >= 1.8*dh)

maxima closer than \(1.8\,dh\) to the centre are deleted, where \(dh = \sqrt {(\Delta x)^2+(\Delta y)^2}\). Any period shorter than this is removed before selection begins.

   
\(5.0\) q = max/(d + 5.0*dh)

the quality score by which maxima are ranked. The additive term sets how strongly near-centre maxima are favoured, and the top-ranked maximum becomes the first basis vector.

   
\(14\) ngrains < 14

fewer than fourteen surviving maxima on an autocorrelation returns “no lattice”. Thirteen fails.

   
\(4\) is_psdf && ngrains < 4

the same threshold on a power spectrum.

   
\(7,\,2\) second check after half-plane cut

a second minimum count, applied after the direction filter.

None of the five is exposed in the interface, documented in the manual, or reported with a result. The half-plane cut is worth stating separately: after ranking, the highest-scoring maximum fixes an axis

\begin{equation} \cos \phi = \frac {x_0}{d_0}, \qquad \sin \phi = \frac {y_0}{d_0}, \tag{24672}\end{equation}
and every maximum in the opposite half-plane is discarded. Which maximum ranks first is set by the constant \(5.0\); which half of the data survives follows from that.
Refinement: an inverse-square weight

refine_from_multiple fits the lattice by weighted least squares over predicted peak positions \((i,j)\), with

\begin{equation} w_{ij} = \frac {h_{ij}}{i^2 + j^2}, \tag{24673}\end{equation}
so a peak at lattice distance \(r\) contributes as \(r^{-2}\). The exponent is a choice; nothing in the data selects it. Peaks beyond dist2limit are dropped entirely.
Flattening: the default is degree three
gwy_param_def_add_int(paramdef, PARAM_COL_DEGREE, ..., 0, MAX_DEGREE, 3);
gwy_param_def_add_int(paramdef, PARAM_ROW_DEGREE, ..., 0, MAX_DEGREE, 3);

Polynomial levelling defaults to degree \(3\) in both directions, with \(0 \leq \text {degree} \leq 11\) available. On the frame examined in Section 713.7 the six-fold score ran

\begin{equation} 0.740 \ (\text {degree } 1), \qquad 0.507 \ (\text {degree } 3), \qquad 0.309 \ (\text {degree } 7), \tag{24674}\end{equation}
so the default is neither the maximum nor an extremum of the quantity it feeds. It is a value someone chose.
Tip shape: chosen from a list

Deconvolution of the tip requires a tip. libprocess/tip.c supplies nine presets:

\begin{equation} \{\text {Pyramid},\ \text {Contact},\ \text {Noncontact},\ \text {Delta function},\ \text {Parabola},\ \text {Cone},\ \text {Elliptical parabola},\ \dots \} \tag{24675}\end{equation}
each with its own free parameters. The corrected image is
\begin{equation} I_{\text {corrected}} = I_{\text {raw}} \ominus T_{\text {assumed}}, \tag{24676}\end{equation}
and \(T_{\text {assumed}}\) is selected from the list, not measured. A different preset yields a different corrected image from the same raw array.
Free parameters per module

Module PARAM_ definitions
level.c \(4\)
tip.c \(19\)
polylevel.c \(46\)
grain_mark.c \(49\)
measure_lattice.c \(\mathbf {63}\)

Measuring a lattice constant passes through sixty-three adjustable parameters before a number is produced, in addition to the five compiled-in thresholds above.

What this adds

Earlier sections showed that the nanometre scale is imported through the piezo constant, and that which period is called the lattice is settled by proximity to an expected value. This subsection locates both elsewhere as well: in code that most users never read, with defaults that appear in no published methods section.

Reported as Actually
“lattice constant measured” \(\lambda _{\mathrm {px}} \times VGC/N\), with \(C\) from a dated file
“atomic resolution” six-fold score above a threshold set by \(1.8\), \(5.0\), \(14\)
“after standard flattening” polynomial degree \(3\), a compiled default
“tip-corrected” deconvolved against one of nine assumed shapes
“defect density” count under a detection setting, of \(63\) parameters

None of this indicates error in the software, which does what it says and whose source is public. The point is where the numbers come from. The map

\begin{equation} \Phi : (\text {surface},\ C,\ \text {degree},\ \text {tip},\ \text {thresholds},\ \dots ) \longrightarrow \text {reported value} \tag{24677}\end{equation}
has a domain most of whose coordinates were fixed before the sample was mounted, several of them by a decision recorded only in a source file.

713.10 The Detector Returns a Lattice From Noise

Sections 713.6 and 713.7 concerned what happens to a period once it has been extracted. This subsection concerns the extraction itself. The procedure is examined directly, by reimplementing it and then feeding it inputs whose content is known.

The algorithm is that of Gwyddion 2.65, libprocess/correct.c, functions guess_lattice and refine_from_multiple, which is the standard route from an image to a reported lattice constant.

713.10.1 The Constants in the Source

guess_lattice contains four numbers that appear in no publication:

Constant Where What it does
\(1.8\) if (d >= 1.8*dh) j++; discards maxima nearer than \(1.8\,dh\) to the centre
\(5.0\) q = max/(d + 5.0*dh); sets how strongly near maxima are preferred
\(14\) if (ngrains < 14) return FALSE; below this count, “no lattice” is reported
\(2\) w = data[...]/w; with \(w=i^2+j^2\) weights lattice points as \(1/r^{2}\) in the refinement

Here \(dh\) is the pixel diagonal. The first constant fixes a lower bound on any period the procedure can report; the third fixes when it declines to report one.

713.10.2 Test A: The Reported Period Follows the Constants

Reimplementing the algorithm with these four exposed and sweeping them over \(5\times 3\times 3\times 3 = 135\) settings, on 40 frames that sample \(d_{nn}\) at 24 pixels or more:

median \(\lambda /d_{nn}\) at each value
Constant
\(R_{\mathrm {centre}}\) \(1.2\): \(0.130\) \(1.5\): \(0.165\) \(1.8\): \(0.176\) \(2.5\): \(0.220\) \(3.0\): \(0.330\)
\(Q_{\mathrm {off}}\) \(2\): \(0.174\) \(5\): \(0.176\) \(10\): \(0.184\)
\(N_{\min }\) \(7\): \(0.176\) \(14\): \(0.176\) \(21\): \(0.176\)
exponent \(1\): \(0.193\) \(2\): \(0.176\) \(3\): \(0.165\)

All 135 settings returned a lattice. Across them the reported period spans a factor of \(3.23\). The dominant term is \(R_{\mathrm {centre}}\): moving it from \(1.2\) to \(3.0\) changes the reported period by a factor of \(2.5\).

Remark 713.9 (On the absolute values). The ratios above sit well below unity, which our reimplementation produces because it locks onto a sub-lattice feature rather than the row spacing that Gwyddion reports. The absolute scale should therefore not be read as a measurement of \(d_{nn}\). What the sweep establishes is the dependence: whatever period the procedure reports, that period moves with constants that are fixed in source and stated nowhere.

713.10.3 Test B: Inputs With No Lattice

Four kinds of field containing no lattice were supplied, forty realisations each, at the same size and sampling as the measured frames.

Input Detections Rate median \(\lambda /d_{nn}\)
white noise \(40/40\) \(1.000\) \(0.013\)
pink noise (\(1/f\)) \(40/40\) \(1.000\) \(1.949\)
scan artefacts only \(40/40\) \(1.000\) \(0.024\)
phase-randomised measurement \(40/40\) \(1.000\) \(0.114\)
\begin{equation} \boxed {P\bigl (\text {lattice reported} \mid \text {no lattice present}\bigr ) = 1.000 \quad (160/160).} \tag{24678}\end{equation}

White noise contains no lattice by construction, and the procedure returned one in every trial. The pink-noise case is the one to note: its median output is \(1.95\,d_{nn}\), close to \(2d_{nn}\), which is a value that would read as a plausible superstructure if it appeared in a figure.

The procedure has no null. It does not answer “no lattice here”; the \(N_{\min }\) guard, which is the only mechanism that could, was never triggered by any of these inputs.

713.10.4 Test C: The Refinement Returns What It Is Given

refine_from_multiple takes an initial lattice and improves it. Seeding it with values other than \(d_{nn}\), on the same 40 measured frames:

Seed Seed (nm) Output (nm) Output / seed
WSe\(_2\) \(d_{nn}\) \(0.2841\) \(0.2493\) \(0.878\)
graphene \(0.1420\) \(0.1135\) \(0.799\)
\(2 d_{nn}\) \(0.5681\) \(0.5424\) \(0.955\)
\(\sqrt 3\, d_{nn}\) \(0.4920\) \(0.4663\) \(0.948\)
arbitrary \(0.5000\) \(0.4733\) \(0.947\)
arbitrary \(0.2000\) \(0.1689\) \(0.844\)

The ratio stays between \(0.80\) and \(0.96\) regardless of the seed. Given the graphene spacing, the procedure returns a graphene-like spacing from WSe\(_2\) data; given an arbitrary \(0.5\) nm, it returns \(0.47\) nm. The output tracks the input to within twenty percent over a four-fold range of seeds.

713.10.5 Test D: Closing the Calibration Loop

Calibration adjusts nm-per-pixel until the measured period matches the assumed lattice constant. Iterating that adjustment:

\begin{equation} \lambda ^{(t)}_{\mathrm {px}} = \frac {\lambda ^{(t)}_{\mathrm {nm}}} {(\mathrm {nm/px})^{(t)}}, \qquad (\mathrm {nm/px})^{(t+1)} = \frac {d_{nn}}{\lambda ^{(t)}_{\mathrm {px}}} . \tag{24679}\end{equation}

Started from five different values, after twelve rounds:

Start nm per px \(\lambda _{\mathrm {px}}\) \(\lambda /d_{nn}\)
\(0.5\times \) \(0.04833\) \(5.882\) \(1.00087\)
\(0.8\times \) \(0.04833\) \(5.882\) \(1.00087\)
\(1.0\times \) \(0.04833\) \(5.882\) \(1.00087\)
\(1.3\times \) \(0.04833\) \(5.882\) \(1.00087\)
\(2.0\times \) \(0.04833\) \(5.882\) \(1.00087\)
\begin{equation} \boxed {\text {spread of the fixed point} = 0 \quad \text {across a four-fold range of starting values.}} \tag{24680}\end{equation}

Every start converges to the same conversion factor, and at that factor the reported period equals \(d_{nn}\) to one part in a thousand. The converged value differs from the one in the instrument header by about a factor of four, which is to say the loop does not recover the calibration the instrument was using; it manufactures whichever calibration makes the answer come out right.

713.10.6 What the Four Tests Establish

Test Finding Bearing
A period spans \(3.2\times \) over source constants the number depends on undocumented settings
B \(160/160\) detections on lattice-free input the procedure has no null
C output \(/\) seed \(\in [0.80, 0.96]\) the refinement returns the expectation
D fixed point independent of the start the loop converges to self-consistency

Test B is the one that does not depend on our reimplementation matching Gwyddion in absolute scale. Whatever the procedure reports, it reports it for white noise as readily as for a measurement, and at the same rate.

Remark 713.10. Together with Section 713.6, the chain reads:

\begin{equation} \underbrace {a_{\mathrm {assumed}}}_{\text {model}} \to \underbrace {C}_{\text {calibration}} \to \underbrace {\lambda _{\mathrm {px}}}_{\text {detector, constants in source}} \to \underbrace {\lambda _{\mathrm {nm}}}_{= \lambda _{\mathrm {px}} \cdot VGC/N} \to \underbrace {\text {``the lattice''}}_{\text {naming}} \to \underbrace {a_{\mathrm {assumed}}}_{\text {model}} \tag{24681}\end{equation}

Test D closes this loop numerically and finds it convergent. A convergent loop is stable, and stability is what reproducibility measures. It is not what agreement with an independent determination would measure, and no step in the chain supplies one.

None of this shows that the surface lacks a lattice. It shows that the procedure would report one either way, and that the number it reports was fixed before the sample was scanned.

713.11 What the File Contains

The preceding subsections traced the conversion from pixels to nanometres and the criterion by which one period is named the lattice. This subsection reads a single file byte by byte, so that the division between what the sample supplied and what was supplied to it is explicit.

The file is STM_WTip_WSe2-SL445_001.sxm, the first of the 678 in the set.

713.11.1 Layout

Section Bytes Fraction
ASCII header \(3{,}163\) \(0.030\%\)
binary block \(10{,}485{,}760\) \(99.970\%\)
total \(10{,}488{,}925\)

The binary block holds ten channels of \(512\times 512\) big-endian float32 values. The header occupies three thousandths of the file and fixes the meaning of the rest.

713.11.2 What the Header Declares

The DATA_INFO block states, for each channel, the unit it is to be read in and the factor that produces it:

Ch Name Unit Calibration Offset
14 Z m \(1.5400\times 10^{-8}\) \(0\)
12 X m \(1.0770\times 10^{-7}\) \(0\)
13 Y m \(1.1770\times 10^{-7}\) \(0\)
0 Current A \(3.3300\times 10^{-10}\) \(4.2290\times 10^{-13}\)
20 LIX_1_omega A \(1.0000\) \(0\)

Each of these is the product of the piezo calibration constant and the amplifier gain recorded elsewhere in the same header:

\begin{equation} 1.5400\times 10^{-8} = \underbrace {2.2\times 10^{-9}}_{C_z}\times \underbrace {7}_{G_z}, \qquad 1.0770\times 10^{-7} = \underbrace {15.39\times 10^{-9}}_{C_x}\times 7 . \tag{24682}\end{equation}

Remark 713.11 (The image is not isotropic, and the header says so). \(C_x\) and \(C_y\) differ by \(9.29\%\). A feature of a given physical extent therefore occupies different numbers of nanometres depending on its orientation, and the anisotropy is a property of the two calibration constants rather than of the surface. Any lattice constant extracted without regard to direction inherits this by an amount depending on the lattice orientation in the frame.

713.11.3 The Z Channel in Three Readings

Reading min max range
as stored (m) \(-1.797364\times 10^{-8}\) \(-1.250073\times 10^{-8}\) \(5.472906\times 10^{-9}\)
as volts \(-1.167119\) \(-0.811736\) \(0.355383\)

Dividing out the declared factor leaves volts. The whole topographic excursion of the frame is

\begin{equation} \boxed {\Delta V = 0.3554\ \mathrm {V}.} \tag{24683}\end{equation}

Expressed as a converter would have seen it:

Converter Counts spanned Fraction of range
16-bit over \(\pm 10\) V \(1{,}164\) of \(65{,}536\) \(1.777\%\)
16-bit over \(\pm 1\) V \(11{,}645\) of \(65{,}536\) \(17.769\%\)
24-bit over \(\pm 10\) V \(298{,}117\) of \(16{,}777{,}216\) \(1.777\%\)

The first eight values of the frame, as 16-bit counts, are

\begin{equation} 30027,\ 30026,\ 30025,\ 30024,\ 30023,\ 30024,\ 30025,\ 30026 . \tag{24684}\end{equation}
Across the whole frame there are \(1{,}166\) distinct values among \(262{,}144\) pixels, a ratio of \(0.44\%\): the array is a few thousand steps, heavily repeated.
713.11.4 The Lateral Scale Never Touched the Sample

Quantity Value
\(L_x\) reported \(20.0000\) nm
divided by \(C_x G_x = 1.0770\times 10^{-7}\) m/V
\(V_{\mathrm {scan}}\) commanded \(0.185701\) V
reconstruction \(V_{\mathrm {scan}}G_xC_x\) \(20.0000\) nm, error \(0.00\times 10^{0}\)
nm per pixel \(0.039062\)
pixels per \(d_{nn}\) \(7.27\)

The horizontal axis is a commanded voltage times two header constants. No part of it is a measurement. The reconstruction error is exactly zero because the relation is an identity, not a comparison.

713.11.5 Result
\begin{equation} \boxed { \underbrace {1164\ \text {counts}}_{\text {from the sample}} \times \underbrace {1.5400\times 10^{-8}\ \mathrm {m/V}}_{\text {from the header}} \;\longrightarrow \; \text {height in metres},} \tag{24685}\end{equation}
\begin{equation} \boxed { \underbrace {\text {pixel index}}_{\text {from the sample}} \times \underbrace {1.0770\times 10^{-7}\ \mathrm {m/V}}_{\text {from the header}} \times \frac {V_{\mathrm {scan}}}{N} \;\longrightarrow \; \text {distance in metres}.} \tag{24686}\end{equation}

The sample moved the tip through a third of a volt. Everything reported in nanometres is that excursion multiplied by numbers written in the first three thousand bytes of the file, fixed in October 2018 and applied unchanged to all 678 measurements.

Remark 713.12 (The general shape). This is not peculiar to scanning tunnelling microscopy. Every instrument discussed in this chapter records a voltage or its digitisation:

Instrument What is recorded
STM tunnelling current, as volts across a transimpedance stage
Photomultiplier (FRET) anode pulses, counted
Calorimeter integrated charge, digitised
Radio interferometer receiver voltage, sampled
Spacecraft ranging carrier phase, from a received voltage

In each case the physical quantity is obtained by multiplying the digitised value by constants held outside the measurement. The map from configuration to voltage is many-to-one — surface, tip, temperature, circuit response and noise all fold into one number per sample — so \(\Phi ^{-1}\) does not exist, and the reported quantity is the reading together with everything that was declared before the reading was taken.

713.12 The Specimen, and Where Its Lattice Constant Came From

Sections 713.6 and 713.7 took \(d_{nn} = 0.2841\) nm as given and asked what the instrument contributed against it. This subsection asks where that number came from, and closes the account by showing what the file contains when every header constant is divided out.

713.12.1 What the Sample Is

The identification of the specimen is itself a chain:

\begin{equation} \text {synthesis} \longrightarrow \text {XRD} \longrightarrow \text {XPS} \longrightarrow \text {Raman} \longrightarrow \text {``WSe}_2\text {''} \tag{24687}\end{equation}
Each step is a calibrated instrument reporting a number against a standard, and each standard was fixed beforehand.

The relevant step for us is the first, since it supplies the length.

713.12.2 XRD Supplies \(d\) Only Given \(\lambda \)

Bragg’s condition is

\begin{equation} n\lambda = 2d\sin \theta , \qquad \text {so}\qquad d = \frac {n\lambda }{2\sin \theta }. \tag{24688}\end{equation}
The apparatus measures \(\theta \). To obtain \(d\) one must already know \(\lambda \), and for a copper tube the adopted value is
\begin{equation} \lambda _{\mathrm {Cu\,K}\alpha } = 1.5406\ \text {\AA }. \tag{24689}\end{equation}
That wavelength is itself obtained by diffracting the same radiation from a crystal whose spacing is assumed, so
\begin{equation} \boxed {d \longleftrightarrow \lambda } \tag{24690}\end{equation}
is a two-term loop closed by convention: one spacing is declared, and every other is measured against it.
713.12.3 The Standard is a Lattice

The declared spacing is silicon:

\begin{equation} d_{220}(\mathrm {Si}) = 192.015\,571\,4\ \mathrm {pm} \qquad \text {(CODATA)}, \tag{24691}\end{equation}
which in turn is tied to the kilogram through the X-ray crystal density route, hence to \(h\) and \(N_{\mathrm {A}}\), both exact by definition since 2019. So
\begin{equation} a_{\mathrm {WSe_2}} \longleftarrow \text {XRD} \longleftarrow \lambda _{\mathrm {Cu\,K}\alpha } \longleftarrow d_{220}(\mathrm {Si}) \longleftarrow \{h,\ N_{\mathrm {A}}\}. \tag{24692}\end{equation}
713.12.4 The Two Chains Meet
\begin{equation} \underbrace {\text {STM} \to C \to \lambda _{\mathrm {nm}}}_{\text {this measurement}} \qquad \text {versus}\qquad \underbrace {\text {XRD} \to \lambda \to d_{nn}}_{\text {the reference}} \tag{24693}\end{equation}

Both terminate at the silicon spacing. The agreement \(\lambda _{\mathrm {nm}} = 0.955\, d_{nn}\) is therefore not two independent determinations meeting; it is one standard, entered twice and compared with itself.

713.12.5 The Specimen is Not the Bulk Crystal

A further gap separates the object measured from the object named. The sample is mechanically exfoliated, transferred under vacuum, and imaged at \(290\) K:

\begin{equation} \text {measured} = \text {the exfoliated surface} \;\neq \; \text {the bulk crystal from which }a\text { was obtained.} \tag{24694}\end{equation}
Surface relaxation, adsorbates, strain from the transfer, and the temperature difference from the diffraction measurement all separate the two. Whether they matter at the \(4.5\%\) level of the observed offset is not settled by anything in the file.
713.12.6 What the File Contains

The account closes by reading the raw bytes. For STM_WTip_WSe2-SL445_001.sxm:

bytes fraction
ASCII header (the constants) \(3\,163\) \(0.030\%\)
binary block (the data) \(10\,485\,760\) \(99.970\%\)
total \(10\,488\,925\)

The header’s DATA_INFO block states the conversion for each channel:

Ch Name Calibration Unit
14 Z \(1.5400\times 10^{-8}\) m/V
12 X \(1.0770\times 10^{-7}\) m/V
13 Y \(1.1770\times 10^{-7}\) m/V
0 Current \(3.3300\times 10^{-10}\) A/V

These reproduce \(C \times G\) exactly: \(2.2\times 10^{-9}\times 7 = 1.54\times 10^{-8}\) for \(Z\), and \(15.39\times 10^{-9}\times 7 = 1.077\times 10^{-7}\) for \(X\). The lateral calibrations differ,

\begin{equation} \frac {C_y}{C_x} = \frac {1.1770}{1.0770} = 1.0929, \tag{24695}\end{equation}
so the image is anisotropic by \(9.29\%\), and that anisotropy is set by the header rather than by the specimen.
713.12.7 Dividing the Constants Out

Removing \(G_z C_z\) from the stored \(Z\) values leaves volts:

as stored (m) as volts
minimum \(-1.797364\times 10^{-8}\) \(-1.167119\)
maximum \(-1.250073\times 10^{-8}\) \(-0.811736\)
range \(5.472906\times 10^{-9}\) \(0.355383\)

On a 16-bit converter spanning \(\pm 10\) V that range is

\begin{equation} \boxed {1164 \text { counts out of } 65\,536, \qquad 1.777\% \text { of the converter range,}} \tag{24696}\end{equation}
and the frame contains \(1\,166\) distinct count values among its \(262\,144\) pixels.

The lateral scale never reached the specimen at all:

\begin{equation} L_x = V_{\mathrm {scan}}\, G_x\, C_x, \qquad V_{\mathrm {scan}} = 0.185\,649\ \mathrm {V} \ \text {(commanded)}, \tag{24697}\end{equation}
reproducing the reported \(20.0000\) nm with error \(0.00\times 10^{0}\).
713.12.8 Invariance Under Redefinition Does Not Help

One might hope that the reported number is secured by being independent of the unit system. It is, and that independence does not do the work required.

Perturbing each of the seven defining constants by one percent and propagating through the dimensional exponents gives:

\(\Delta \nu _{\mathrm {Cs}}\) \(c\) \(h\) \(e\) \(k\) \(N_{\mathrm {A}}\) \(K_{\mathrm {cd}}\)
length \(-0.99\) \(+1.00\) \(0\) \(0\) \(0\) \(0\) \(0\)
mass \(+1.00\) \(-1.97\) \(+1.00\) \(0\) \(0\) \(0\) \(0\)
voltage \(+1.00\) \(0\) \(+1.00\) \(-0.99\) \(0\) \(0\) \(0\)
\(R\) \(0\) \(0\) \(0\) \(0\) \(+1.00\) \(+1.00\) \(0\)
\(F\) \(0\) \(0\) \(0\) \(+1.00\) \(0\) \(+1.00\) \(0\)
\(\alpha \) \(0\) \(0\) \(0\) \(0\) \(0\) \(0\) \(0\)
\(m_p/m_e\) \(0\) \(0\) \(0\) \(0\) \(0\) \(0\) \(0\)
\(\lambda /d_{nn}\) \(0\) \(0\) \(0\) \(0\) \(0\) \(0\) \(0\)
\(R/(N_{\mathrm {A}}k)\) \(0\) \(0\) \(0\) \(0\) \(0\) \(0\) \(0\)
\(F/(N_{\mathrm {A}}e)\) \(0\) \(0\) \(0\) \(0\) \(0\) \(0\) \(0\)

Every dimensionless ratio is exactly invariant. Carrying a ten percent change in \(h\) through the STM chain moves the reported height by \(1.62\times 10^{-14}\) percent and the reported period by \(3.91\times 10^{-14}\) percent, which is floating-point residue: the volt grows and the calibration shrinks by the same factor, and they cancel.

Remark 713.13. Two things hold together, and the first does not rescue the second.

The reported figure is invariant under a change of unit definitions, because it is a ratio and the definition cancels. And it is not a determination of the lattice constant, because the ratio was fixed by the calibration rather than by the specimen. Invariance under redefinition is a property of ratios; it says nothing about which ratio one has.

The demonstration makes the point on itself. Setting \(\lambda _{\mathrm {px}} := d_{nn}/(\text {nm per pixel})\) — the pixel period a lattice of spacing \(d_{nn}\) would occupy — returns \(\lambda /d_{nn} = 1.000000\) exactly, under every perturbation. That is a tautology, and it is also, in outline, the procedure: \(d_{nn}\) enters through \(C\), and \(\lambda _{\mathrm {nm}}\) comes back out. The measured value \(\lambda _{\mathrm {px}} = 13.159\) differs from the constructed \(7.272\) only because the calibration is off by the \(4.5\%\) recorded earlier.

\begin{equation} \boxed { \underbrace {1164 \text { counts}}_{\text {from the specimen}} \ \times \ \underbrace {1.5400\times 10^{-8}\ \mathrm {m/V}}_{\text {from the header}} \;\longrightarrow \; \text {a height in nanometres,}} \tag{24698}\end{equation}
\begin{equation} \boxed { \underbrace {\text {pixel index}}_{\text {from the specimen}} \ \times \ \underbrace {V_{\mathrm {scan}} G_x C_x / N}_{\text {entirely from the header}} \;\longrightarrow \; \text {a length in nanometres.}} \tag{24699}\end{equation}

713.13 Invariance is Not Warrant

A natural reply to Section 713.6 is that the reported ratio \(\lambda /d_{nn}\) is dimensionless and therefore independent of the unit system, so it cannot be an artefact of the calibration. This subsection tests that reply by perturbing, first the seven defining constants of the SI, and then the fine-structure constant itself.

713.13.1 Perturbing the Unit System

Since 2019 the SI fixes seven constants exactly:

\begin{equation} \Delta \nu _{\mathrm {Cs}},\quad c,\quad h,\quad e,\quad k,\quad N_{\mathrm {A}},\quad K_{\mathrm {cd}} . \tag{24700}\end{equation}
Every base unit is a monomial in these, so every quantity carries a vector of exponents:

Quantity \(\Delta \nu \) \(c\) \(h\) \(e\) \(k\) \(N_{\mathrm {A}}\) \(K_{\mathrm {cd}}\)
length \(-1\) \(1\) \(0\) \(0\) \(0\) \(0\) \(0\)
mass \(1\) \(-2\) \(1\) \(0\) \(0\) \(0\) \(0\)
voltage \(1\) \(0\) \(1\) \(-1\) \(0\) \(0\) \(0\)
energy \(1\) \(0\) \(1\) \(0\) \(0\) \(0\) \(0\)
\(R\) \(0\) \(0\) \(0\) \(0\) \(1\) \(1\) \(0\)
\(F\) \(0\) \(0\) \(0\) \(1\) \(0\) \(1\) \(0\)
\(\varepsilon _0\) \(0\) \(-1\) \(-1\) \(2\) \(0\) \(0\) \(0\)

Raising any one constant by one percent moves each quantity by the corresponding power, and moves every dimensionless ratio by zero:

\begin{equation} \alpha ,\quad m_p/m_e,\quad \lambda /d_{nn},\quad R/(N_{\mathrm {A}}k),\quad F/(N_{\mathrm {A}}e) \qquad \text {all }0\text { for all seven}. \tag{24701}\end{equation}

Carried through the STM chain explicitly, a ten percent change in \(h\) moves the reported height by \(1.6\times 10^{-14}\) percent and the reported period by \(3.9\times 10^{-14}\) percent, both at the level of floating-point rounding. The volt grows and the piezo calibration shrinks by the same factor, and the two cancel.

So the reply is correct as far as it goes: the number is not an artefact of the unit system.

713.13.2 Perturbing the Physics

The question is whether that invariance is evidence about the sample. Test it by moving \(\alpha \) instead of a unit.

Quantity power of \(\alpha \)
Bohr radius \(a_0\) \(-1\)
crystal lattice constant \(a\) \(-1\)
Rydberg energy \(+2\)
characteristic X-ray energy \(+2\)
X-ray wavelength \(-2\)
Compton wavelength \(h/m_ec\) \(0\)
nuclear radius \(0\)
Cs hyperfine splitting \(+2\)

A lattice constant and a Bohr radius carry the same power. Their ratio is therefore blind to \(\alpha \):

Ratio net power % change at \(+1\%\)
\(a/a_0\) \(0\) \(0\)
\(E_{\mathrm {Ry}}/\Delta \nu _{\mathrm {Cs}}\) \(0\) \(0\)
\(\lambda _{\mathrm {STM}}/d_{nn}\) (recalibrated) \(0\) \(0\)
   
\(\lambda _{\mathrm {X}}/a\) (Bragg) \(-1\) \(-0.99\)
\(a/\lambda _{\mathrm {Compton}}\) \(-1\) \(-0.99\)
\(a/r_{\mathrm {nuc}}\) \(-1\) \(-0.99\)

Running the STM chain with \(\alpha \) shifted, and recalibrating the piezo in the usual way against the shifted lattice:

\(\delta \alpha \) \(d_{nn}\) (nm) nm/px \(\lambda \) (nm) ratio
\(-5\%\) \(0.29901\) \(0.041118\) \(0.54108\) \(1.809580\)
\(-2\%\) \(0.28985\) \(0.039860\) \(0.52451\) \(1.809580\)
\(0\) \(0.28406\) \(0.039062\) \(0.51402\) \(1.809580\)
\(+2\%\) \(0.27849\) \(0.038296\) \(0.50394\) \(1.809580\)
\(+5\%\) \(0.27053\) \(0.037202\) \(0.48955\) \(1.809580\)

Every entry in the first four columns moves. The ratio does not. A recalibrated STM cannot detect a change in \(\alpha \), because the recalibration absorbs it exactly.

713.13.3 What Would Detect It

A Bragg angle is not blind, since \(\lambda _{\mathrm {X}}\) and \(d\) carry different powers:

\begin{equation} \sin \theta = \frac {n\lambda _{\mathrm {X}}}{2d} \;\propto \; \alpha ^{-1} . \tag{24702}\end{equation}

\(\delta \alpha \) \(\theta \) (deg) shift (deg)
\(-5\%\) \(21.101\) \(+1.101\)
\(-2\%\) \(20.426\) \(+0.426\)
\(0\) \(20.000\) \(0\)
\(+2\%\) \(19.592\) \(-0.408\)
\(+5\%\) \(19.010\) \(-0.990\)

Comparisons of this kind are what constrain a varying \(\alpha \). A single instrument calibrated against a standard is not one of them.

713.13.4 The General Condition

Proposition 713.14. Let \(q\) be a measured quantity and \(s\) the standard it is calibrated against. Then

\begin{equation} \boxed {\frac {q}{s}\ \text {is blind to } \alpha \iff \frac {\partial \ln q}{\partial \ln \alpha } = \frac {\partial \ln s}{\partial \ln \alpha }.} \tag{24703}\end{equation}

An instrument calibrated against a standard is blind to any change that moves the standard and the measurement together, and the calibration procedure is precisely what makes them move together.

713.13.5 Three Statements, None Implying Another

Statement Established by
1 the number is invariant under a change of SI definitions zero exponents in all seven
2 the number is invariant under a change of \(\alpha \) ratio fixed at \(1.809580\)
3 the number is not a determination of the lattice constant Section 713.6

Statement 1 is the reply this subsection set out to test, and it is true. Statement 2 shows why it does not answer the objection: the number survives a change in the physics as well as a change in the units, and a number that survives both is not thereby reporting on the sample. Statement 3 was established independently, by the header identity \(L_{\mathrm {scan}} \equiv VGC\) and the one-for-one dependence on \(C\).

Remark 713.15. The relation between 1 and 3 is worth stating plainly, because it is easy to hear the argument as denying 1. It does not. Dimensional invariance is a real property and a valuable one; a quantity lacking it would be worse off. What is denied is the inference from 1 to 3’s negation.

The reason is that invariance is a property of the ratio’s form, while the objection concerns the ratio’s origin. Two ratios with identical invariance properties can differ entirely in what fixed them — one by a sample, one by a calibration constant — and no amount of checking the exponents will separate them. Distinguishing the two requires looking at the chain that produced the number, which is what the header analysis does.