499 The Same Electrons in Different Spaces: TEM

The preceding sections varied the operations applied to a set of electron counts — gain, alignment, dose weighting, CTF correction, the algebra of combining counts, the lattice of sampling cells — and in every case the result was still a picture of the familiar kind: a brightness assigned to each point of a flat square. This section removes that last constant. It keeps the recorded electron events fixed and changes the mathematics that turns them into a picture: the axes, the space, its topology, its curvature, its dimension, and the algebraic status of the picture itself.

499.1 Data

All pictures in this section are computed from a single raw movie in EMPIAR-10025, the Thermoplasma acidophilum 20S proteasome dataset [315, 316].

The data are transmission electron microscopy (TEM) movies recorded under cryogenic conditions (cryo-TEM) on a direct electron detector in counting mode.

item value
archive EMPIAR-10025, directory 14sep05c_raw_196
movie 14sep05c_00024sq_00003hl_00002es.frames.mrc
recording mode super-resolution electron counting
frame size \(7676 \times 7420\) super-resolution pixels
frames used \(38\)
counts per super-resolution pixel per frame mean \(0.424\), variance \(0.424\)
pixel size \(0.66\) Å (super-resolution), from the EMPIAR entry;
the MRC header carries the placeholder value \(1.0\)
region central \(2048 \times 2048\) super-resolution pixels
event array \(f_t(x)\), counts binned \(4\times 4\): \(512 \times 512 \times 38\) at \(2.64\) Å
not applied gain reference, bad-pixel mask, frame alignment,
dose weighting, CTF correction
software numpy, scipy, scikit-image, mrcfile,
matplotlib

The gain reference distributed with the movie (norm-amibox05-0.mrc) was deliberately not applied, so that every picture below is a function of the recorded integers alone. The object on which all constructions operate is the event array

\begin{align*} f &: \{0,\dots ,511\}^2 \times \{0,\dots ,37\} \longrightarrow \mathbb {N},\\ f_t(x) &= \text {number of electrons recorded in cell } x \text { during frame } t . \end{align*}

499.2 What the standard picture assumes

The micrograph as ordinarily shown is

\begin{equation} I(x) = \sum _{t=0}^{37} f_t(x), \qquad x \in \{0,\dots ,511\}^2 \subset \mathbb {R}^2 , \tag{24107}\end{equation}
displayed as a luminance at position \(x\). Four premises are built into this single line:

premise where it enters
P1 the domain is a flat, simply connected square with the Euclidean metric \(x \in \mathbb {R}^2\)
P2 the two axes of the picture are the two spatial coordinates \(I\) is indexed by \(x\)
P3 time carries no information and is removed by addition \(\sum _t\)
P4 a picture is a function from its domain to \(\mathbb {R}\), read as brightness \(I : \text {domain} \to \mathbb {R}\)

None of the four is contained in \(f\). The event array records which cell and which frame; it does not record that cells lie on a Euclidean plane, that the plane is not periodic, that frames are to be added, or that the result is to be read as a function rather than, for instance, as a matrix. Each subsection below replaces one or more of these premises and computes the resulting picture from the same \(f\).

499.3 Axes that are not space

Replacing P2 alone produces pictures whose axes are not spatial.

499.4 Pictures chosen by decomposition

Writing the events as a matrix \(F \in \mathbb {N}^{38 \times 512^2}\), rows indexed by frame and columns by cell, P3 can be replaced by a factorisation. The singular value decomposition

\begin{equation} F - \bar F = \sum _k \sigma _k\, u_k v_k^{\top } \tag{24109}\end{equation}
yields orthogonal spatial maps \(v_k\), each a picture selected by the requirement of orthogonality rather than by summation. Non-negative matrix factorisation \(F \approx W H\) with \(W, H \ge 0\) and rank \(3\) yields three additive non-negative parts, shown as the red, green and blue channels of one picture. The standard micrograph is, up to scale, close to the first singular component; the second and third are equally determined by \(f\) and are not shown in any conventional pipeline.

499.5 The picture as a matrix

Replacing P4, the \(512 \times 512\) picture can be read as a matrix \(A = I/\sqrt {512}\) rather than as a function on a plane. Every matrix operation then produces a new picture from the same electrons:

operation picture
powers \(A^2\), \(A^3\)
inverse Moore–Penrose pseudoinverse \(A^{+}\)
commutator \([A, A^{\top }] = AA^{\top } - A^{\top }A\)
matrix functions \(\log (AA^{\top } + \varepsilon \mathbf {1})\), \(\exp (3A/\|A\|_2)\)
tensor product \(\bar A \otimes \bar A\), with \(\bar A\) the \(32\times 32\) block mean
products over finite rings \((BB) \bmod 2\) for \(B = [I > \operatorname {median}]\); \((QQ) \bmod 7\) for \(Q\) quantised to seven levels
tropical products \((A \otimes _{\max } A)_{ij} = \max _k (A_{ik} + A_{kj})\), \((A \otimes _{\min } A)_{ij} = \min _k (A_{ik} + A_{kj})\)
elementwise Hadamard product \(A \circ A^{\top }\)
ordering each row sorted; each column sorted
local invariants \(\operatorname {sign}(\det )\log (1+|\det |)\) of each \(8\times 8\) block;
largest eigenvalue of the symmetric part of each \(16\times 16\) block

In each of these, rows and columns — which were spatial coordinates — are treated as the index sets of a linear map. No convention specifies what \(A^2\) of a micrograph means, and none forbids computing it.

499.6 Topology and quotients

Replacing P1 by a different identification of the boundary of the square gives a different space on which the same picture lives. Each is shown through its universal cover or its fundamental domain:

space identification
torus \((x, 0) \sim (x, 1)\), \((0, y) \sim (1, y)\)
Klein bottle \((x, 0) \sim (x, 1)\), \((0, y) \sim (1, 1-y)\)
Möbius strip \((0, y) \sim (1, 1-y)\)
real projective plane \(x \sim -x\) about the centre
cone polar angle rescaled to leave a deficit of \(\pi /2\)

Quotients by symmetry groups fold the picture onto a fundamental domain: the cyclic group \(C_4\) of quarter turns, the dihedral group \(D_4\), and the wallpaper group \(p4m\), in which the plane is tiled by reflections of one triangle. The electrons are the same in every case; what changes is which points of the square are declared to be the same point.

499.7 Curvature

The Euclidean metric of P1 can be replaced by one of constant non-zero curvature. On the Riemann sphere the plane is mapped by inverse stereographic projection from the north pole,

\begin{equation} (X, Y) = \left (\frac {x_1}{1 - x_3},\; \frac {x_2}{1 - x_3}\right ), \qquad x \in S^2, \tag{24110}\end{equation}
so that the whole unbounded plane occupies the sphere and infinity is a single point. In the hyperbolic case the picture is placed on the upper half-plane and viewed in the Poincaré disk through the Cayley transform \(w = i(1+z)/(1-z)\).

499.8 Conformal maps

Treating the plane as \(\mathbb {C}\), any holomorphic map \(w = \phi (z)\) defines a new picture \(I \circ \phi \) that preserves angles and distorts lengths. Six are computed: \(z^2\), \(\sqrt {z}\), \(e^z\), \(\log z\), \(\sin z\), and the Joukowski map \(z + 1/z\). Each is a legitimate change of coordinates on the same complex plane; the Cartesian identity map used by the standard picture is one member of this family.

499.9 Geometry set by the electrons

In P1 the space is fixed first and the electrons are placed on it. The order can be reversed so that the electrons determine the geometry.

499.10 Dimension

Because \(512 = 2^9\), the grid \(\{0,\dots ,511\}^2\) is in bijection with the Boolean hypercube \(\mathbb {F}_2^{18}\): each cell is a string of nine \(y\)-bits and nine \(x\)-bits. The plane is therefore the choice of which nine of eighteen binary axes are grouped as “vertical”. Permuting the eighteen axes at random and regrouping them gives other pictures of exactly the same values, with no two of them privileged by \(f\).

The same address bits define other embeddings. Mapping each binary digit \(b_k\) to \(2 \cdot 3^{-(k+1)}\) places every cell on the Cantor set, so that the \(2\)-adic structure of the addresses becomes a fractal dust. Ordering the cells along a Hilbert curve reduces the picture to a single line; treating \(I\) as a height reduces it to a relief surface in three dimensions.

499.11 Spacetime

P3 removes time by addition. Keeping it instead, the event array is a volume in \((x, y, t)\), and the standard picture is its projection along \(t\). Any other section of the volume is equally a picture. Two are computed: a planar section with \(t\) increasing linearly from left to right, and a curved section with \(t\) increasing with radius from the centre. A shear of spacetime,

\begin{equation} I_v(x, y) = \sum _t f_t(x - vt,\, y), \tag{24112}\end{equation}
corresponds to recording the same events from an observer moving at velocity \(v\) across the detector; \(v = 0\) is the standard picture.

499.12 What the electrons determine

Every picture in this section is a total function of the event array \(f\) and of nothing else. The standard micrograph is one member of this collection, obtained by fixing P1 through P4. The event array does not select it: it contains no statement that cells lie on a flat plane rather than a torus or a sphere, that frames are to be added rather than sectioned or factorised, that the result is a function rather than a matrix, or that nine particular bits of the address are the vertical axis. What is recorded is which cell and which frame. Everything that makes the record look like a molecule is supplied by the space in which it is drawn.

pict