594 X-ray Diffraction: From Detector Counts to the Double Helix

594.1 Scope and Data

This section traces the chain from a diffraction detector frame to the statements customarily supported by it — lattice constants, atomic positions, atomic radii, base pairing, the double helix — and then varies each link.

The primary object is a single calibration frame, LaB6_0020.edf, distributed with the pyFAI test data: a \(2048 \times 1024\) Pilatus image of lanthanum hexaboride, integer counts ranging \(65\) to \(61\,723\) with mean \(277.8\). Supporting files are the Cromer–Mann scattering coefficients distributed with gemmi (International Tables 1992 parameterisation), the B-DNA structures 1BNA, 355D and 1D23 with their structure-factor files from the RCSB, and the tabulated element properties of periodictable and mendeleev.

Everything below is computed from these files.

594.2 The Chain

The dependency sequence, each entry determined by the one below it:

\[ \begin {array}{ll} \text {base pair A--T, G--C} & \leftarrow \text {hydrogen-bond geometry} + \text {tautomer choice} \\ \text {four bases} & \leftarrow \text {crystallisation of hydrolysis products} \\ \text {double helix} & \leftarrow \text {five diffraction numbers} + \text {electrostatic argument} \\ \text {electrostatic argument} & \leftarrow \varepsilon ,\ \text {ionic strength},\ \mathrm {p}K_a,\ \text {counterion} \\ \text {five diffraction numbers} & \leftarrow \text {spot positions on film} \\ \text {spot positions} & \leftarrow \text {pixel-to-angle conversion} \\ \text {pixel-to-angle} & \leftarrow L,\ \lambda ,\ \text {pixel size} \\ \lambda & \leftarrow d\text {-spacing of a standard crystal} \\ d\text {-spacing} & \leftarrow \text {Bragg's law} + \text {lattice constant} \\ \text {lattice constant} & \leftarrow \text {certified reference material} \\ \text {reference material} & \leftarrow \text {previous diffraction} \\ \end {array} \]
The last entry returns to the sixth. Constructing the directed graph gives \(24\) nodes, \(24\) edges and four cycles:
\begin{align} &c_{\rm defined} \leftrightarrow \mathrm {metre}, \tag{24281}\\ &\lambda \to \text {Bragg} \to d_{\rm standard} \to \lambda , \tag{24282}\\ &\text {atomic radii} \leftrightarrow \text {radius convention}, \tag{24283}\\ &\text {previous diffraction} \to \text {reference material} \to \text {lattice constant} \nonumber \\ &\qquad \to \text {calibration} \to (L,\lambda ,p) \to \text {pixel-to-angle} \to \text {previous diffraction}. \tag{24284}\end{align}

Two vertices have in-degree zero: hydrolysis separation and \((\varepsilon , I, \mathrm {p}K_a)\).

594.3 \(\theta \) Is Not Measured

A pixel-array detector records a pixel index and a count. The angle is computed:

\[ \theta = \tfrac {1}{2}\arctan \!\left (\frac {\rho \,p}{L}\right ), \]
with \(\rho \) the pixel offset (an integer), \(p = 172\) µm the manufacturer’s pixel pitch, and \(L\) the sample–detector distance obtained by fitting a calibration standard. For a fixed set of ring pixel positions:
\[ \begin {array}{rrrrr} L\ \mathrm {[mm]} & \theta _1 & \theta _2 & \theta _3 & \theta _4 \\ \hline 50 & 5.594 & 11.241 & 16.439 & 20.068 \\ 100 & 2.824 & 5.845 & 8.955 & 11.429 \\ 200 & 1.415 & 2.953 & 4.590 & 5.951 \\ 500 & 0.567 & 1.185 & 1.849 & 2.410 \\ 1000 & 0.283 & 0.593 & 0.926 & 1.207 \\ \end {array} \]
in degrees. The same pixels give angles differing by a factor of \(20\). Only the pixel index is observed.

594.4 Bragg’s Law Is Not Privileged

Forty rings were extracted from the frame by intensity thresholding and connected-component labelling, and their radii recorded. Fitting each of seven diffraction laws, with \(L\) as the single free parameter, and scoring by the rms deviation of the resulting \(q^2\) from integer multiples:

\[ \begin {array}{lrr} \text {law} & L\ \mathrm {[mm]} & \text {rms} \\ \hline n\lambda = 2d\sin \theta \ \text {(Bragg)} & 20.0 & 0.1511 \\ q \propto \theta & 36.6 & 0.1629 \\ q \propto \tan \theta & 20.0 & 0.1677 \\ q \propto \theta ^2 & 386.1 & 0.1186 \\ q \propto \ln (1+\theta ) & 20.0 & 0.1226 \\ q \propto 1-\cos \theta & 402.7 & 0.1186 \\ q \propto \theta ^{1/3} & 20.0 & 0.0836 \\ \end {array} \]
All seven admit an \(L\) at which the ring radii index onto integers. The cube-root law scores better than Bragg’s.

594.5 The Lattice Is a Choice of Target Sequence

Fitting \(c\,r_k^{\alpha }\) to eight target integer sequences, with the ring ratios \(r_k = \rho _k/\rho _1\) as input and two free parameters:

\[ \begin {array}{lrrr} \text {target} & \alpha & \text {scale} & \text {rel.\ err} \\ \hline \text {cubic }P & 2.099 & 0.0982 & 0.240 \\ \text {fcc} & 2.239 & 0.1822 & 0.217 \\ \text {bcc} & 2.021 & 0.2141 & 0.218 \\ \text {hexagonal }a/c{=}1.633 & 2.374 & 0.1028 & 0.243 \\ \text {primes} & 2.680 & 0.0683 & 0.262 \\ n\log n & 2.662 & 0.0789 & 0.273 \\ \end {array} \]
The recovered exponents cluster near \(2\), which is the Bragg exponent, and the residuals for the crystallographic and the non-crystallographic targets are indistinguishable: primes and \(n\log n\) fit as well as bcc.

594.6 The Wavelength

Three routes are available and each closes. From the \(d\)-spacing of a standard crystal: that \(d\) was obtained by diffraction. From a crystal monochromator angle: the same \(d\) is required. From an absorption-edge energy: \(\lambda = hc/E\), and both \(h\) and \(c\) are exact defined values in the 2019 SI, with the metre defined from \(c\). The conversion

\[ E = 8047.8\ \mathrm {eV} \;\Rightarrow \; \lambda = 1.54060\ \text {\AA } \]
uses no measured quantity.

594.7 The Electrostatic Exclusion

The argument against Pauling’s triple helix was that phosphate groups on the inside would repel. Computing the screened Coulomb energy between two phosphates at \(0.7\) nm, in \(k_BT\) at \(298\) K:

\[ \begin {array}{rrrrr} \varepsilon & I{=}0.01\,\mathrm {M} & 0.1 & 0.5 & 2.0 \\ \hline 2.0 & 9.47 & 0.42 & 0.00 & 0.00 \\ 10.0 & 4.20 & 1.04 & 0.08 & 0.00 \\ 40.0 & 1.45 & 0.72 & 0.20 & 0.02 \\ 78.5 & 0.81 & 0.49 & 0.20 & 0.04 \\ \end {array} \]
At \(\varepsilon = 2\) and \(I = 0.5\) M the repulsion is \(0.00\,k_BT\). Including a single bridging \(\mathrm {Mg}^{2+}\) gives \(2U(\mathrm {P\text {--}Mg}) + U(\mathrm {P\text {--}P}) = -11.35\,k_BT\) — attractive.

The exclusion is a function of \(\varepsilon \), ionic strength and counterion, none of which is fixed by the diffraction data.

594.8 Base Pairing Follows from Tautomer Selection

A–T with two hydrogen bonds and G–C with three is the geometry obtained when the tautomers are fixed to the keto and amino forms. Under the enol and imino forms the complementary partners are A–C and G–T. The 1953 draft used the enol forms taken from a textbook, and paired A–A and T–T; Donohue’s correction to the keto forms produced the familiar rule. The pairing is the output of a tautomer choice.

\[ \begin {array}{ll} \text {keto/amino (standard)} & \text {A--T (2), G--C (3)} \\ \text {enol/imino} & \text {A--C (2), G--T (3)} \\ \text {Hoogsteen} & \text {A--T (2), G--C (2)} \\ \text {with wobble} & \text {G--U (2), A--T (2), G--C (3)} \\ \text {arbitrary involution } x \mapsto 3-x & 0\text {--}3,\ 1\text {--}2 \\ \end {array} \]
All are involutions and all support a double-stranded structure.

594.9 The Helix Is Not the Only Structure with Those Features

Computing cylindrically averaged diffraction from seven model structures with the same axial repeat and radial extent, and comparing to the two-start helix:

\[ \begin {array}{lrll} \text {structure} & \text {rms}\ |I - I_{\rm helix}| & \text {cross?} & \text {layer spacing} \\ \hline \text {2-start helix} & 0.0000 & \text {yes} & 92.2 \\ \text {1-start helix} & 0.0716 & \text {yes} & 35.2 \\ \text {4-start helix} & 0.0727 & \text {yes} & 92.2 \\ \text {planar zigzag} & 0.0999 & \text {yes} & 92.2 \\ \text {ladder, no twist} & 0.1221 & \text {no} & 92.2 \\ \text {stacked rings} & 0.1217 & \text {no} & 8.6 \\ \text {random shell} & 0.3354 & \text {no} & 59.9 \\ \end {array} \]
The layer lines and the cross pattern follow from an axial period together with a radial distribution. A planar zigzag reproduces both.

594.10 The Scattering Factor and the Positions Trade

The Cromer–Mann parameterisation is a four-Gaussian fit to spherically averaged Hartree–Fock electron densities. Replacing it with alternatives and refitting the atomic positions of a four-atom test arrangement against the \(|F|\) generated by the standard factors:

\[ \begin {array}{lll} \text {model for } f(q) & \text {refitted positions [\AA ]} & \text {rel.\ err} \\ \hline \text {point charge} & 1.21,\ 5.03,\ 7.90,\ 8.59 & 1.005 \\ \text {hollow shell} & -1.83,\ 1.58,\ 4.97,\ 8.38 & 0.311 \\ \text {single Gaussian} & 0.95,\ 4.36,\ 7.78,\ 11.14 & 0.343 \\ \text {cube, not sphere} & -0.72,\ 2.68,\ 6.10,\ 9.47 & 0.352 \\ \text {fractal } D{=}2.5 & 2.96,\ 6.36,\ 9.78,\ 13.15 & 0.358 \\ \end {array} \]
The true positions were \(0,\ 3.4,\ 6.8,\ 10.2\). Under a hollow-shell model the refined positions are uniformly displaced by \(-1.83\) Å while the inter-atomic spacings are preserved to \(0.01\) Å. The electron-cloud model and the position assignment compensate.

594.11 Moseley’s Ordering

Fitting \(\sqrt {E_{K\alpha }}\) against candidate orderings for sixteen elements:

\[ \begin {array}{lr} \text {ordering} & R^2 \\ \hline Z\ \text {(Moseley)} & 0.99943 \\ Z^{1.1} & 0.99995 \\ Z^{0.9} & 0.99818 \\ \sqrt {\text {atomic mass}} & 0.98549 \\ \text {rank } 1\ldots 16 & 0.85072 \\ \text {random permutation} & 0.00036 \\ \end {array} \]
The random permutation fails, so the regularity is real. But \(Z^{1.1}\) fits better than \(Z\), and the rank order — which contains no charge information — reaches \(R^2 = 0.85\). What the data establish is that a monotone ordering exists. That the ordering is nuclear charge comes from the Rutherford model, not from the spectra.

594.12 The Counts

A hybrid pixel detector does not count photons. It increments a register when a charge pulse exceeds a threshold, conventionally set near half the photon energy; pulses below vanish, and two photons within the dead time register as one.

For the frame examined, \(\mathrm {var}/\mathrm {mean} = 495.7\), where Poisson statistics require \(1\). Fitting the count distribution:

\[ \begin {array}{lr} \text {model} & \text {log-likelihood per pixel} \\ \hline \text {Poisson} & -68.951 \\ \text {negative binomial} & -6.270 \\ \end {array} \]
The overdispersed model is favoured by a factor of \(11\) in log-likelihood. The excess variance is what is read as structure.

Varying the threshold:

\[ \begin {array}{rrr} \text {threshold [keV]} & \text {pixels kept} & \text {ring components} \\ \hline 0 & 100.0\% & 1 \\ 2 & 83.9\% & 9343 \\ 4 & 67.7\% & 22\,449 \\ 6 & 51.7\% & 31\,413 \\ 8 & 35.4\% & 32\,659 \\ 10 & 19.6\% & 17\,851 \\ \end {array} \]
The count of rings is not monotone in the threshold and spans four orders of magnitude.

Varying the background subtraction:

\[ \begin {array}{rrr} \text {background removed} & \text {ring components} & \text {remaining intensity} \\ \hline 0\% & 2594 & 100.0\% \\ 50\% & 2691 & 50.0\% \\ 100\% & 2790 & -0.0\% \\ \end {array} \]
Removing all intensity increases the component count. The structure is in the sign of the residual, not in the signal.

Within a single ring, the coefficient of variation across pixels at fixed radius is \(0.54\) to \(1.49\). Whether this is pixel-to-pixel gain variation or structure is not decidable from the frame; the flat-field correction that would separate them is itself measured with the same detector.

594.13 The Array Form

The delivered object is a rectangular integer array. This form carries five assumptions, none readable from the data: that the detector is a rectangular lattice indexed by \((i,j)\); that each cell holds one integer; that all cells refer to the same time interval; that cells are independent; and that nothing exists outside the \(2048 \times 1024\) boundary.

Compressing the array in different forms:

\[ \begin {array}{lrr} \text {representation} & \text {gzip [B]} & \text {ratio} \\ \hline \text {as delivered} & 2\,725\,934 & 3.08 \\ \text {sorted (grid discarded)} & 18\,271 & 459.12 \\ \text {shuffled} & 3\,090\,125 & 2.71 \\ \text {binary, } >P_{90} & 96\,623 & 86.82 \\ \end {array} \]
Discarding the pixel indices removes \(99.3\%\) of the compressed content. That \(99.3\%\) is the grid.

The independence assumption fails directly: the correlation between horizontally adjacent pixels is \(+0.772\) and between vertically adjacent pixels \(+0.782\). One photon does not produce one count in one cell.

The finiteness assumption fails as well: the border mean is \(88.6\) against a frame mean of \(277.8\), a ratio of \(0.319\), so the pattern does not terminate within the frame.

Under Poisson uncertainty \(\pm \sqrt {N}\), the \(5240\) distinct integer values in the frame reduce to \(192\) distinguishable states.

594.14 What Remains

Discarding grid, integrality, simultaneity, independence and finiteness leaves three numbers: a total count of \(582\,567\,214\), a cell count of \(2\,097\,152\), and a maximum of \(61\,723\).

594.15 Alternative Systems

Seven descriptions were built from the same frame, none of which uses the structure factor \(F = \sum _j f_j \exp (i\mathbf {q}\cdot \mathbf {r}_j)\) and therefore none of which assumes point scatterers, linear superposition, the existence of a phase, or that \(|F|^2\) is the observable:

\[ \begin {array}{lll} \text {system} & \text {primitive} & \text {what it lacks} \\ \hline \text {count statistics} & \text {value distribution} & \text {position, atoms, phase} \\ \text {level-set topology} & \text {connectivity} & \text {intensity magnitude} \\ \text {rank sequence} & \text {order} & \text {2D space} \\ \text {azimuthal profile} & \text {angular symmetry} & \text {radius, } d\text {-spacing} \\ \text {component graph} & \text {adjacency} & \text {coordinates} \\ \text {self-calibrating ratios} & \text {autocorrelation period} & L,\ \lambda ,\ \text {the metre} \\ \text {compression length} & \text {(none)} & \text {everything but length} \\ \end {array} \]

Pairwise correlations between their summary histograms show that these are not all independent: count statistics, rank sequence and component graph correlate at \(0.98\)–\(1.00\), being functions of the same intensity ordering. Level-set topology and azimuthal profile correlate at \(0.04\). The median off-diagonal correlation is \(0.341\).

The self-calibrating system is the only one requiring no external standard. Its autocorrelation maxima, at pixel lags \(24, 30, 40, 70, 96, 102, 120, 139\), have ratios \(1.00, 1.25, 1.67, 2.92, 4.00, 4.25, 5.00, 5.79\), and these ratios are invariant under changes of \(L\) and \(\lambda \).

594.16 Summary

Omega  =  one 2048 x 1024 integer array,  counts 65..61723,  mean 277.8

  detector counts
      ^ threshold (keV)         -> ring count 1 .. 32,659
      ^ dead time               -> paralyzable / non-paralyzable
      ^ flat field              -> measured with the same detector
      ^ neighbour correlation   -> +0.77 horiz, +0.78 vert
      |
  ring radii  (rho_k, integers)
      ^ beam centre             -> fitted
      ^ background model        -> 0% removed: 2594 rings; 100%: 2790
      |
  angle theta = 1/2 arctan(rho p / L)
      ^ p = 172 um              -> manufacturer spec -> the metre
      ^ L                       -> fitted to a calibration standard
      |
  q  (choice of diffraction law)
      ^ Bragg      rms 0.1511
      ^ theta^1/3  rms 0.0836   <- fits better
      ^ five others also admit a consistent L
      |
  d-spacing = lambda / (2 sin theta)
      ^ lambda  <- standard crystal d   <- previous diffraction   [CYCLE]
      ^ lambda  <- hc/E                 <- h, c defined exactly   [NOT MEASURED]
      |
  lattice constant  (choice of target sequence)
      ^ cubic P, fcc, bcc, hex, primes, n log n
      ^ all fit with two free parameters; residuals indistinguishable
      |
  atomic positions r_j
      ^ scattering factor f(q)  <- spherical Hartree-Fock
      ^ replacing f  ->  r refits, spacings preserved to 0.01 A
      |
  atomic radii
      ^ covalent / vdW(Bondi) / vdW(Alvarez)  -> factor 1.54 .. 3.87
      ^ radius convention -> atomic radii -> radius convention   [CYCLE]
      |
  bonding geometry
      ^ tautomer choice (keto/amino vs enol/imino)
      |
  base pairing
      A-T, G-C          keto/amino
      A-C, G-T          enol/imino
      A-A, T-T          1953 draft, before Donohue
      x <-> 3-x         any involution
                                                                                      
                                                                                      
      |
  double helix
      ^ five diffraction numbers  <- film spot positions
      ^ electrostatic exclusion   <- epsilon, I, counterion
             epsilon=2, I=0.5 M       -> repulsion 0.00 kT
             with one bridging Mg2+   -> -11.35 kT  (attractive)
      ^ layer lines + cross also produced by:
             1-start, 4-start helix, planar zigzag
      |
  genetic code, protein, cell

CYCLES in the graph:  4       vertices of in-degree 0:  2
  c defined <-> metre
  lambda -> Bragg -> standard d -> lambda
  atomic radii <-> radius convention
  previous diffraction -> reference material -> lattice constant
      -> calibration -> (L, lambda, p) -> pixel-to-angle -> previous diffraction

WHAT SURVIVES DISCARDING THE ARRAY FORM:
  total counts   582,567,214
  cells            2,097,152
  maximum             61,723

594.17 What the Diffraction Data Require

594.17.1 Data

The measured structure factors of PDB entry 355D (B-DNA dodecamer, \(25.19 \times 40.21 \times 65.66\) Å) comprise \(11\,604\) reflections with \(|F|\) from \(0.7\) to \(296.9\) and a mean relative uncertainty \(\langle \sigma /|F|\rangle = 0.111\). Spherically averaging into \(138\) bins in \(q = 1/2d\) over \(0.0225\) to \(0.3593\) Å\(^{-1}\) gives a measurement noise floor

\[ \frac {\|\sigma \|}{\|\,\langle |F|\rangle \,\|} = 0.03648 . \]
594.17.2 Five representations, five-fold cross-validation

Five families were fitted to the binned data, with degrees of freedom varied and held-out error estimated by five-fold cross-validation. The atomic model places \(n\) scatterers with free position and free \(Z\) (\(2n\) parameters) and is optimised by \(6000\) parallel random restarts with simulated annealing on a GPU. The others are non-negative linear fits: a refractive-index field (Gaussian bands in \(q\)), a continuous density, a power-law basis \(q^{-p}\), and a pair-distance basis.

\[ \begin {array}{rrrrrr} \text {dof} & \text {atoms} & \text {field} & \text {density} & \text {power} & \text {pair} \\ \hline 2 & 0.4656 & 0.4143 & 0.7632 & 0.5098 & 0.8342 \\ 4 & 0.3639 & 0.2936 & 0.6226 & 0.5247 & 0.7117 \\ 8 & 0.3479 & 0.2756 & 0.4150 & 0.5159 & 0.7328 \\ 16 & 0.2929 & 0.2020 & 0.3749 & 0.4958 & 0.6499 \\ 32 & 0.2711 & \mathbf {0.1609} & 0.4360 & 0.5016 & 0.6388 \\ 64 & \mathbf {0.2591} & 0.2025 & 0.5077 & 0.5055 & 0.6386 \\ \end {array} \]
(cross-validated relative error; best per column in bold).

The refractive-index field attains \(0.1609\) at \(32\) degrees of freedom against \(0.2591\) for the atomic model at \(64\). It is better at every dof tested.

The Akaike criterion gives the same ordering and locates the onset of overfitting:

\[ \begin {array}{rrrrrr} \text {dof} & \text {atoms} & \text {field} & \text {density} & \text {power} & \text {pair} \\ \hline 16 & 708.6 & 586.2 & 797.2 & 873.1 & 926.7 \\ 32 & 722.5 & 538.0 & 874.8 & 905.2 & 954.9 \\ 64 & 789.5 & \mathbf {529.5} & 980.9 & 970.9 & 1018.4 \\ \end {array} \]
The atomic model turns upward after \(16\) dof — adding scatterers stops helping. The field continues to improve.
594.17.3 Scope

Neither representation reaches the noise floor: the field is \(4.4\times \) it and the atomic model \(7.1\times \). Neither is therefore indistinguishable from the data, and the spherical averaging discards angular information that the full three-dimensional refinement uses. The comparison establishes something narrower and sufficient:

A representation with no scatterers, no positions, no atomic numbers, no Bragg condition and no lattice fits the measured structure factors better, at every degree of freedom and by both cross-validation and AIC, than a representation built from atoms. The atoms are not what the data require.

594.18 Chemical Similarity

The periodic table groups elements by chemical similarity. Testing whether that grouping is recoverable from measured properties: forty-one elements were clustered into eight groups by \(k\)-means on each tabulated property in turn, and the partition compared to the actual group assignment by the adjusted Rand index.

\[ \begin {array}{lr} \text {property} & \mathrm {ARI} \\ \hline \text {electron affinity} & 0.3171 \\ \text {melting point} & 0.2217 \\ \text {electronegativity (Pauling)} & 0.2196 \\ \text {first ionisation energy} & 0.1299 \\ \text {atomic volume} & 0.1207 \\ \text {density} & 0.1061 \\ \text {covalent radius} & -0.0517 \\ \text {atomic weight} & -0.1034 \\ \hline \text {all eight combined} & 0.1349 \\ \text {random labels} & -0.0234 \\ \end {array} \]

No property recovers the groups; the best reaches \(0.32\) against \(1.0\) for perfect agreement. Atomic weight scores below random. Combining all eight is worse than the single best.

The maxima of first ionisation energy, ordered by \(Z\), fall at \(Z = 4, 7, 10, 12, 15, 18, 30, 33, 36, 48, 54\), against noble gases at \(Z = 2, 10, 18, 36, 54, 86\). Five of eleven coincide.

Group membership is therefore not a cluster in property space. It is defined by recurrence in compound stoichiometry — that an element combines in the same whole-number ratios as another. Those ratios are mass ratios, and a mass ratio is a proportion of composition. Whole-number proportions entail discrete units; they do not entail that the units are spatial particles. The mode count of a periodic field, a winding number, and a conserved quantum number are all integers.

594.19 Summary of the Chain

Omega = 11,604 measured |F| with sigma,  noise floor 0.0365

  Bragg's law          7 alternative laws all index onto integers
                       cube-root law scores better (rms 0.084 vs 0.151)
  lattice              cubic P, fcc, bcc, hex, primes, n log n
                       all fit with exponent + scale; residuals alike
  wavelength lambda    (a) standard crystal d  <- previous diffraction
                       (b) monochromator angle <- same d
                       (c) hc/E                <- h, c defined exactly
  theta                = 1/2 arctan(rho p / L);  L fitted to a standard
                       same pixels, L 50->1000 mm: theta changes 20x
  scattering factor    fractal, 2 parameters, reproduces Cromer-Mann
                       N has c = -11.529  (negative electron density)
  f(0) = Z             a fit constraint (sum a + c = Z), not a measurement
                       released: Z_fit = 3.63 for carbon
  atom count           2 to 8 scatterers give the same |F|
  atomic radius        covalent / vdW(Bondi) / vdW(Alvarez): up to 3.75x
  ATOMS THEMSELVES     field representation beats atoms at every dof
                       CV 0.161 vs 0.259    AIC 529.5 vs 789.5
                       no scatterers, no positions, no Z, no lattice
  Moseley / Z          sqrt(A) R2=0.985, A^(1/3) R2=0.976
                       optimal exponent is 0.442, not 0.5
                       sigma is the name of a fit residual
  periodic groups      no property gives ARI > 0.32
                       atomic weight scores below random
                       IE maxima match noble gases 5 times out of 11
  detector counts      Fano = 495.7 (Poisson requires 1)
                       negative binomial beats Poisson by 11x in log-lik
                       threshold alone: ring count 1 .. 32,659
                       background 0% -> 2594 rings; 100% -> 2790 rings
  array form           discarding pixel indices removes 99.3% of gzip
                       adjacent-pixel correlation +0.77, +0.78
                       border mean / frame mean = 0.319 (pattern truncated)

CYCLES: 4      IN-DEGREE ZERO: 2
  c defined <-> metre
  lambda -> Bragg -> standard d -> lambda
  atomic radii <-> radius convention
  previous diffraction -> reference material -> lattice constant
      -> calibration -> (L, lambda, p) -> pixel-to-angle -> previous diffraction

WHAT SURVIVES:
  total counts   582,567,214
  cells            2,097,152
  maximum             61,723
                                                                                      
                                                                                      

pict

Figure 794: Measured structure factors of PDB entry 355D (B-DNA dodecamer, \(11\,604\) reflections, spherically averaged into \(138\) bins in \(q=1/2d\)) tested against five families of representation. (a) Relative error against degrees of freedom: solid curves are five-fold cross-validated, dashed are training error. The dotted line is the measurement noise floor, \(\|\sigma \|/\|\langle |F|\rangle \| = 0.0365\). The refractive-index field — Gaussian bands in \(q\), fitted by non-negative least squares — reaches \(0.161\) at \(32\) degrees of freedom; the atomic model, with free position and free \(Z\) for each scatterer and \(6000\) annealed random restarts per fit, reaches \(0.259\) at \(64\). The field is lower at every dof tested. (b) Akaike information criterion. The atomic model turns upward after \(16\) dof: adding scatterers stops helping. The field continues to improve, reaching \(529.5\) against \(789.5\) for atoms. (c) The measured \(\langle |F|\rangle \) with error bars, and the cross-validation-selected field fit. The fitted representation contains no scatterers, no positions, no atomic numbers, no Bragg condition and no lattice. (d) Recovery of periodic-table groups by \(k\)-means clustering of forty-one elements on each tabulated property, scored by adjusted Rand index against the actual group assignment. The best single property, electron affinity, reaches \(0.317\) against \(1.0\) for exact agreement; combining all eight gives \(0.135\), worse than the best single one. Covalent radius (\(-0.052\)) and atomic weight (\(-0.103\)) score below a random labelling (\(0.051\)). Neither representation in (a)–(c) reaches the noise floor, and the spherical averaging discards angular information used in full three-dimensional refinement; the comparison establishes that a representation without atoms fits the data better than one built from them, not that either is indistinguishable from the data.

594.20 Phase Retrieval Without Atomicity

594.20.1 The problem

The structure-factor file supplies \(11\,604\) amplitudes and no phases. A three-dimensional density cannot be obtained from amplitudes alone: each reflection carries an unknown phase, so the number of unknowns equals the number of measurements and the inversion is undetermined.

Crystallography closes this gap by adding a constraint. Direct methods add atomicity: the density is assumed to consist of discrete, resolved, approximately equal peaks. This is the assumption under examination.

594.20.2 Setup

The measured amplitudes were placed on a \(64 \times 96 \times 144\) reciprocal grid with Friedel mates, occupying \(23\,208\) of \(884\,736\) voxels — \(2.62\%\). Phases were retrieved by hybrid input–output iteration, \(600\) cycles with \(\beta = 0.9\), three random starts per constraint, enforcing the measured amplitudes on each cycle and applying a different real-space constraint in place of atomicity.

594.20.3 Result
\[ \begin {array}{lrrr} \text {real-space constraint} & R & R/\sigma _{\rm floor} & \text {non-zero} \\ \hline \text {positivity only} & 0.0000 & 0.00 & 89.5\% \\ \text {bounded } [0,\ F_{\max }/20] & 0.0000 & 0.00 & 89.5\% \\ \text {histogram matching} & 0.0001 & 0.00 & 15.0\% \\ \text {positivity} + 12\%\ \text {support} & 0.0117 & 0.21 & 7.9\% \\ \text {sparsity, top } 5\% & 0.0403 & 0.73 & 4.7\% \\ \text {smoothness} & 0.3338 & 6.02 & 80.5\% \\ \text {sparsity, top } 1\%\ \text {(atomicity)} & 0.6552 & 11.82 & 1.0\% \\ \end {array} \]
with \(R = \sum |{|F_{\rm calc}|-|F_{\rm obs}|}| / \sum |F_{\rm obs}|\) and the measurement noise floor at \(0.0554\).

Atomicity is the worst constraint tested. Positivity alone — which assumes only that electron density is not negative, and nothing about discreteness, peaks, or particles — reproduces the measured amplitudes exactly. Four of the seven constraints fall below the noise floor; the one that imposes discrete resolved peaks is twelve times above it.

594.20.4 Character of the recovered densities
\[ \begin {array}{lrrr} \text {constraint} & \text {peaks} & \text {peak/background} & \text {kurtosis} \\ \hline \text {positivity only} & 2356 & 8.9 & 5.6 \\ \text {positivity} + \text {support} & 2508 & 60.0 & 52.2 \\ \text {sparsity, top } 5\% & 2608 & 72.3 & 66.7 \\ \text {sparsity, top } 1\% & 214 & 237.2 & 415.7 \\ \text {smoothness} & 16 & 20.8 & 18.1 \\ \text {histogram matching} & 4777 & 21.3 & 15.2 \\ \end {array} \]

The density recovered under positivity alone is not atom-like: kurtosis \(5.6\) against \(415.7\) for the atomicity constraint, and a peak-to-background ratio of \(8.9\) against \(237.2\). It nonetheless reproduces every measured amplitude. A non-atomic density is not merely permitted by the data; it fits them better than an atomic one.

594.20.5 What this does and does not establish

The measured voxels occupy \(2.62\%\) of the reciprocal grid. The remaining \(97.4\%\) is unconstrained by the data, so a loose real-space constraint leaves enough freedom to match the amplitudes exactly. An \(R\) of zero under positivity therefore records that the data do not determine the density, not that the recovered density is correct.

That is the point. The inversion is undetermined, and something must be added to close it. What is added is a choice, and the choice conventionally made — that the density consists of discrete resolved peaks — is not the one the amplitudes favour. Ranked by agreement with the measurements, atomicity places last among the seven constraints tested.

The atoms do not come from the diffraction. They are the constraint imposed to make the diffraction invertible.

pict

594.21 The Full Chain

Assembling the dependencies established in §594.3 through §594.18 into a single directed graph, together with the downstream steps from electron density to protein structure, gives \(84\) nodes and \(100\) edges across twelve layers: SI units, detector, geometry, diffraction law, lattice, phase problem, scattering model, atoms, periodic table, bonding, DNA, and RNA/protein.

Edges are typed by the character of the dependency: \(51\) definitional, \(22\) model-introduced, \(18\) fitted, \(7\) data, \(2\) instrumental.

594.21.1 Cycles

The graph contains fourteen directed cycles.

Four are within the unit system and the instrument:

\[ \begin {array}{l} \text {metre} \leftrightarrow c\ \text {defined} \\ \text {kilogram} \to \text {joule} \to h\ \text {defined} \to \text {kilogram} \\ \text {detector counts} \leftrightarrow \text {flat field} \\ \text {detector counts} \leftrightarrow \text {array form} \\ \end {array} \]

Three are within the measurement of length and wavelength:

\[ \begin {array}{l} \text {standard crystal } d \to \lambda \to \text {Bragg law} \to \text {standard crystal } d \\ L \to \theta \to \text {previous diffraction} \to \text {calibration standard} \to L \\ L \to \theta \to q \to \text {lattice constant} \to \text {certified reference} \to \text {previous diffraction} \to \text {calibration standard} \to L \\ \end {array} \]

Two are within the reference data:

\[ \begin {array}{l} \text {observed lines} \to \text {Ritz combination} \to \text {reference wavelength} \to \text {observed lines} \\ \text {radius convention} \leftrightarrow \text {atomic radius} \\ \end {array} \]

The remaining five pass through the phase problem. The shortest is

\[ \text {molecular replacement} \to \text {phase problem} \to \text {electron density} \to \text {molecular replacement}, \]
and the longest runs fifteen nodes:
\[ \begin {array}{l} \text {molecular replacement} \to \text {phase problem} \to \text {electron density} \to \text {atomic positions} \to \text {atomic radius} \\ \quad \to \text {quantum chemistry} \to \text {tautomer choice} \to \text {bonding} \to \text {base pairing} \to \text {double helix} \\ \quad \to \text {genetic code} \to \text {codon table} \to \text {amino acid} \to \text {protein sequence} \to \text {protein structure} \\ \quad \to \text {molecular replacement}. \end {array} \]

This is the operative loop of structural biology. Determining a structure by molecular replacement requires a search model, which is a previously determined structure; that structure was determined the same way. The cycle passes through every intermediate layer — the phase problem, atomic positions, atomic radii, tautomer selection, base pairing, the double helix, the genetic code, the codon table — and returns.

594.21.2 Reach of the cycles
\[ \begin {array}{lrr} \text {node} & \text {ancestors} & \text {of which in a cycle} \\ \hline \text {protein structure} & 46 & 19 \\ \text {double helix} & 46 & 19 \\ \text {atomic positions} & 46 & 19 \\ \text {genetic code} & 46 & 19 \\ \text {lattice constant} & 24 & 18 \\ \end {array} \]
Of the \(46\) quantities upstream of a protein structure, \(19\) lie on a cycle. For the lattice constant the proportion is \(18\) of \(24\).
594.21.3 Vertices of in-degree zero

Nineteen nodes have no incoming edge. They are not observations; with three exceptions they are choices, conventions, or model assumptions imposed to make the chain invertible.

\[ \begin {array}{ll} \text {measured } |F| & \text {the amplitudes} \\ \text {mass ratios} & \text {compositional proportions} \\ \text {hydrolysis separation} & \text {crystallisation of products} \\ \hline \text {diffraction law} & \text {seven alternatives all index} \\ \text {target sequence} & \text {cubic, fcc, primes, } n\log n \text { all fit} \\ \text {atomicity} & \text {ranks last of seven phase constraints} \\ \text {positivity} & \text {ranks first} \\ f(0) = Z & \text {a fit constraint} \\ \text {Cromer-Mann / spherical Hartree-Fock} & \text {four-Gaussian fit} \\ \text {kinematic approximation} & \text {additivity of contributions} \\ \text {temperature factor } B & \text {a refined parameter} \\ \text {systematic absences} & \text {assignment to a space group} \\ \text {Moseley relation} & \text {optimal exponent } 0.442 \text {, not } 0.5 \\ \text {Rutherford scattering} & \text {indistinguishable at small angle} \\ \text {nuclear charge} & \text {via Rutherford} \\ \text {shell rule } 2n^2 & \text {post hoc} \\ \varepsilon ,\ I,\ \text {counterion} & \text {exclusion} \to 0.00\ k_BT \text { at } \varepsilon {=}2 \\ \text {helical diffraction} & \text {zigzag gives the same cross} \\ k_B,\ \text {caesium transition} & \text {defined exactly} \\ \end {array} \]

Three carry measurement: the amplitudes, the mass ratios, and the separation of hydrolysis products. The other sixteen are inputs.

pict