No electrode measures a potential. An EEG amplifier records \(x_i = V_i - V_{\mathrm {ref}}\), and \(V_{\mathrm {ref}}\) is not known. This subsection follows what survives that fact and what does not, on one public recording.
Adding an arbitrary signal to every channel and then applying an average reference changes nothing:
A montage is a gauge transformation exactly when it subtracts one scalar per time point from every channel; the pairwise difference \(x_i - x_j\) is then untouched. Applying thirteen montages and measuring the C3–C4 difference against the as-recorded value:
| Montage | Subtracts | rms [\(\mu \)V] | Alpha power | \(\max |\Delta (C3{-}C4)|\) |
| as recorded | — | \(50.44\) | \(150.75\) | \(0\) |
| average | one scalar | \(14.03\) | \(31.68\) | \(2.8\times 10^{-14}\) |
| median | one scalar | \(12.14\) | \(29.67\) | \(2.8\times 10^{-14}\) |
| trimmed \(20\%\) | one scalar | \(12.46\) | \(29.67\) | \(2.8\times 10^{-14}\) |
| max | one scalar | \(37.87\) | \(83.81\) | \(4.3\times 10^{-14}\) |
| min | one scalar | \(32.55\) | \(84.00\) | \(5.7\times 10^{-14}\) |
| Cz | one scalar | \(17.35\) | \(33.67\) | \(2.8\times 10^{-14}\) |
| Fz | one scalar | \(26.15\) | \(65.42\) | \(2.8\times 10^{-14}\) |
| Oz | one scalar | \(36.17\) | \(162.86\) | \(2.8\times 10^{-14}\) |
| linked T7/T8 | one scalar | \(23.94\) | \(51.41\) | \(2.8\times 10^{-14}\) |
| random weights | one scalar | \(13.59\) | \(31.20\) | \(2.8\times 10^{-14}\) |
| Laplacian | per-channel combination | \(4.39\) | \(3.41\) | \(2.08\times 10^{2}\) |
| bipolar chain | per-channel combination | \(11.06\) | \(11.68\) | \(2.06\times 10^{2}\) |
Alpha power spans a factor of \(47.7\) and the correlation with the as-recorded trace falls to \(+0.02\), while the difference between two electrodes is preserved to one part in \(10^{14}\). The montage is a choice of representative in \(\mathbb {R}^{64}/\mathbb {R}\mathbf {1}\).
The two montages that fail the test are not re-references. They are spatial filters, and they discard information the others keep. Reporting them in the same list as Cz and average, as is standard, conflates a change of gauge with a change of data.
“C3” is a name. Its coordinates come from the standard_1005 montage, constructed from an average head; no measurement of this subject’s anatomy appears in the file. Perturbing the positions and recomputing the Laplacian:
| Position jitter | Laplacian alpha power | Ratio |
| as templated | \(3.411\) | \(1.000\) |
| \(1\) mm | \(3.411\) | \(1.000\) |
| \(3\) mm | \(3.411\) | \(1.000\) |
| \(5\) mm | \(8.410\) | \(2.466\) |
| \(10\) mm | \(12.372\) | \(3.627\) |
| \(20\) mm | \(20.701\) | \(6.069\) |
The neighbour set is discrete, so small errors change nothing and a \(5\) mm error changes the answer by a factor of \(2.5\). Electrode placement by the \(10\)–\(20\) system is not accurate to \(5\) mm.
Quantising the signal at a fixed physical scale, each level mapped back to the midpoint of its bin:
| Levels | Bits/sample | Alpha power | Relative | Peak [Hz] |
| float64 | \(64\) | \(30.63\) | \(1.000\) | \(12.50\) |
| \(256\) | \(8\) | \(31.97\) | \(1.044\) | \(12.50\) |
| \(64\) | \(6\) | \(38.21\) | \(1.247\) | \(12.50\) |
| \(16\) | \(4\) | \(61.67\) | \(2.013\) | \(12.50\) |
| \(8\) | \(3\) | \(90.09\) | \(2.941\) | \(12.50\) |
| \(4\) | \(2\) | \(142.81\) | \(4.662\) | \(12.50\) |
| \(3\) | \(1.6\) | \(178.04\) | \(5.812\) | \(12.50\) |
| \(2\) (sign only) | \(1\) | \(18.60\) | \(0.607\) | \(12.50\) |
One bit per sample. The peak frequency is \(12.50\) Hz in every row, to the resolution of the estimate, while “alpha power” moves by a factor of \(9.6\). The rhythm is in the zero crossings; the power is the amplitude scale, and the amplitude scale is the amplifier gain.
Band power is an \(L^2\) quantity. Ranking channels by the \(L^p\) norm of the \(8\)–\(12\) Hz signal:
| Norm | First | Second | Third | Rank corr. vs \(L^2\) |
| \(L^{0.5}\) | O2 | Iz | PO8 | — |
| \(L^1\) | O2 | PO8 | Iz | — |
| \(L^2\) (power) | O2 | PO8 | O1 | \(1.0000\) |
| \(L^3\) | O2 | PO8 | O1 | \(0.9923\) |
| \(L^\infty \) | PO8 | O1 | O2 | \(0.8025\) |
Which electrode carries the most alpha depends on the exponent.
Expressed as a fraction of \(1\)–\(45\) Hz so that every normalisation cancels:
| Estimator | Alpha fraction | Relative to Welch \(2\) s |
| Welch, \(1\) s | \(0.1434\) | \(1.053\) |
| Welch, \(2\) s | \(0.1363\) | \(1.000\) |
| Welch, \(4\) s | \(0.1347\) | \(0.989\) |
| Welch, \(8\) s | \(0.1340\) | \(0.983\) |
| multitaper | \(0.1341\) | \(0.984\) |
| Morlet wavelet | \(0.1449\) | \(1.063\) |
| Hilbert envelope | \(0.2434\) | \(1.786\) |
| AR(\(8\)) | \(0.0990\) | \(0.727\) |
| AR(\(20\)) | \(0.1473\) | \(1.081\) |
| AR(\(40\)) | \(0.1303\) | \(0.957\) |
The span is \(2.46\), not the order of magnitude that appears when normalisations are mixed. The disagreement that remains is the model order and the window length: AR(\(8\)) says alpha is a tenth of the spectrum, AR(\(20\)) says a seventh.
Resampling and recomputing the same band:
| Sample rate [Hz] | Nyquist [Hz] | Alpha power | Peak [Hz] |
| \(160\) | \(80.0\) | \(30.63\) | \(12.50\) |
| \(50\) | \(25.0\) | \(30.64\) | \(12.50\) |
| \(26\) | \(13.0\) | \(30.68\) | \(12.50\) |
| \(25\) | \(12.5\) | \(30.75\) | \(12.25\) |
| \(24\) | \(12.0\) | \(26.39\) | \(11.75\) |
| \(22\) | \(11.0\) | \(15.25\) | \(6.25\) |
| \(20\) | \(10.0\) | \(9.40\) | \(6.25\) |
| \(18\) | \(9.0\) | \(3.88\) | \(6.25\) |
| \(16\) | \(8.0\) | \(0.00\) | \(6.25\) |
| \(12\) | \(6.0\) | \(0.00\) | — |
The alpha peak sits at \(12.5\) Hz, so it is unchanged down to \(25\) Hz sampling and gone by \(16\). Nothing in the scalp changed.
A step function through the high-pass:
| High-pass [Hz] | Overshoot | Undershoot | Zero crossings |
| \(0\) | \(1.000\) | \(0.000\) | \(1\) |
| \(0.01\) | \(1.000\) | \(-0.064\) | \(1\) |
| \(0.1\) | \(1.000\) | \(-0.858\) | \(1\) |
| \(0.3\) | \(0.968\) | \(-1.000\) | \(2\) |
| \(0.5\) | \(0.998\) | \(-1.000\) | \(3\) |
| \(1.0\) | \(1.000\) | \(-1.000\) | \(2\) |
| \(2.0\) | \(1.000\) | \(-1.000\) | \(5\) |
| \(4.0\) | \(1.000\) | \(-1.000\) | \(15\) |
At \(4\) Hz a single step has become a fifteen-crossing oscillation. None of it is in the input. On this particular recording the effect on the evoked average is small — the peak moves from \(11.56\) to \(12.98\) \(\mu \)V across high-pass settings from \(0\) to \(2\) Hz, and the latency stays at \(237.5\) ms — so the filter is a demonstrated hazard here rather than a demonstrated error.
| Algorithm | Leading component | \(r\) with frontal mean | Peak after two removed |
| FastICA, logcosh | IC\(00\) | \(0.888\) | \(13.32\) |
| FastICA, exp | IC\(00\) | \(0.892\) | \(13.50\) |
| FastICA, cube | IC\(00\) | \(0.872\) | \(12.25\) |
| Infomax | IC\(00\) | \(0.895\) | \(14.59\) |
| Extended Infomax | IC\(00\) | \(0.890\) | \(12.19\) |
The five algorithms agree on which component is ocular. They do not agree on the amplitude that survives its removal. How many to remove is a separate choice, and it is the one that matters:
| Components removed | Peak [\(\mu \)V] | Latency [ms] |
| \(0\) | \(+12.95\) | \(237.5\) |
| \(1\) | \(+11.64\) | \(237.5\) |
| \(2\) | \(+13.32\) | \(243.8\) |
| \(3\) | \(+11.76\) | \(243.8\) |
| \(5\) | \(+11.77\) | \(237.5\) |
| \(8\) | \(-5.85\) | \(443.8\) |
| \(12\) | \(-7.40\) | \(425.0\) |
Between five and eight components the deflection reverses sign and the latency moves by \(200\) ms. Nothing in the recording says where to stop.
| Event set | \(n\) | Peak [\(\mu \)V] | Latency [ms] |
| as annotated | \(24\) | \(+12.95\) | \(237.5\) |
| shifted \(+3\) s | \(23\) | \(+8.60\) | \(512.5\) |
| shifted \(+7\) s | \(23\) | \(+11.42\) | \(337.5\) |
| labels permuted | \(24\) | \(+14.54\) | \(468.8\) |
| uniform random times | \(24\) | \(+6.14\) | \(225.0\) |
Permuting the labels — destroying every relation between the stimulus and the trace — returns a larger peak than the real alignment.
The ERP is defined as the mean across trials. Other operators on the same epochs:
| Operator | Peak [\(\mu \)V] | Latency [ms] | Sign |
| mean (the ERP) | \(+12.95\) | \(237.5\) | \(+\) |
| median | \(+15.08\) | \(268.8\) | \(+\) |
| trimmed \(20\%\) | \(+13.71\) | \(275.0\) | \(+\) |
| max | \(+73.44\) | \(243.8\) | \(+\) |
| min | \(-57.03\) | \(125.0\) | \(-\) |
| sign-mean (\(1\) bit) | \(+8.72\) | \(262.5\) | \(+\) |
| rms (phase blind) | \(+27.17\) | \(200.0\) | \(+\) |
Eight published definitions of the alpha band, applied to one spectrum:
| Definition | Range [Hz] | Power |
| \(8\)–\(10\) | \(8.0\)–\(10.0\) | \(10.60\) |
| \(9\)–\(11\) | \(9.0\)–\(11.0\) | \(12.09\) |
| \(10\)–\(12\) | \(10.0\)–\(12.0\) | \(19.95\) |
| \(8\)–\(12\) (common) | \(8.0\)–\(12.0\) | \(30.55\) |
| \(7.5\)–\(12.5\) | \(7.5\)–\(12.5\) | \(45.86\) |
| individual peak \(\pm 2\) | \(10.5\)–\(14.5\) | \(49.71\) |
| \(8\)–\(13\) (IFCN) | \(8.0\)–\(13.0\) | \(55.12\) |
| \(7\)–\(14\) | \(7.0\)–\(14.0\) | \(66.75\) |
A factor of \(6.3\), all in current use. Six baseline intervals move the peak from \(11.73\) to \(15.96\) \(\mu \)V without changing its sign.
The identical pipeline applied to surrogates, each scaled to the recording’s own post-reference standard deviation of \(25.91\) \(\mu \)V:
| Input | Peak [\(\mu \)V] | Latency [ms] | Baseline sd | \(|\)peak\(|\)/sd |
| the recording | \(+12.95\) | \(237.5\) | \(2.86\) | \(4.52\) |
| white noise | \(-11.25\) | \(400.0\) | \(3.94\) | \(2.86\) |
| pink (\(1/f\)) noise | \(-8.68\) | \(368.8\) | \(3.02\) | \(2.87\) |
| phase-randomised, per channel | \(+5.69\) | \(137.5\) | \(2.58\) | \(2.21\) |
| phase-randomised, common | \(-8.41\) | \(475.0\) | \(2.53\) | \(3.33\) |
| time points shuffled | \(-13.22\) | \(556.2\) | \(2.89\) | \(4.57\) |
| shuffled independently | \(-8.11\) | \(518.8\) | \(3.39\) | \(2.39\) |
Shuffling the time points of the recording — which destroys every temporal relation it contains — produces a deflection larger than the recording’s own, with the same ratio to its baseline.
The preceding result is not a failure of the recording. It is what a maximum over eighty points does, and the quantity had never been given a null. Under a sign-flip permutation, which is exact because the sign carries no information under the null hypothesis, with \(4000\) permutations:
| Statistic | Observed | Null mean | Null \(95\)th | \(p\) |
| \(\max |A|\), \(100\)–\(600\) ms | \(12.95\) | \(9.77\) | \(13.59\) | \(0.0830\) |
| mean, \(200\)–\(500\) ms | \(4.01\) | \(2.07\) | \(4.92\) | \(0.1202\) |
| mean, \(250\)–\(350\) ms | \(8.00\) | \(2.62\) | \(6.42\) | \(0.0130\) |
| mean, \(300\)–\(600\) ms | \(1.46\) | \(1.80\) | \(4.39\) | \(0.5232\) |
| mean, \(100\)–\(600\) ms | \(3.20\) | \(1.76\) | \(4.20\) | \(0.1500\) |
The same data is significant at \(p = 0.013\) and not significant at \(p = 0.523\) depending on which window is declared. And the null itself grows with the search:
| Search window [ms] | Points | \(E[\max ]\) under null | Observed max | \(p\) |
| \(200\) to \(300\) | \(17\) | \(8.09\) | \(12.95\) | \(0.0505\) |
| \(150\) to \(400\) | \(41\) | \(8.86\) | \(12.95\) | \(0.0590\) |
| \(100\) to \(600\) | \(81\) | \(9.77\) | \(12.95\) | \(0.0830\) |
| \(0\) to \(800\) | \(129\) | \(10.29\) | \(12.95\) | \(0.1008\) |
| \(-500\) to \(1000\) | \(241\) | \(10.71\) | \(12.95\) | \(0.1255\) |
Over the whole map, \(64\) channels by \(81\) time points, the largest deflection is \(+38.70\) \(\mu \)V at PO7, \(444\) ms. Its uncorrected \(p\) is below \(10^{-4}\); corrected over \(5184\) tests it is \(0.233\). Of those \(5184\) points, \(1381\) (\(26.6\%\)) exceed the pointwise \(95\)th percentile of the null, against \(259\) expected.
| Layer | What the choice does |
| the gauge | a signal on every channel is unrecoverable; rank \(63\) of \(64\) |
| montage | alpha \(\times 47.7\); pairwise differences invariant to \(10^{-14}\) |
| coordinates | from an average head; \(5\) mm error \(\to \) Laplacian \(\times 2.5\) |
| the field | \(1\) bit keeps the peak at \(12.50\) Hz; power \(\times 9.6\) |
| the norm | the leading channel changes with the exponent |
| the basis | \(\times 2.46\) at a common normalisation |
| the grid | alpha survives to \(25\) Hz and is gone by \(16\) |
| the filter | a step acquires fifteen crossings |
| ICA | sign reverses between five and eight components removed |
| labels | permuted labels give a larger peak than the real ones |
| averaging | the ERP is the mean because the mean is what is taken |
| bands | \(\times 6.3\) across definitions in current use |
| the null | time-shuffled data gives a larger peak, at the same \(|\)peak\(|\)/sd |
| the peak | \(p = 0.083\) corrected, \(0.013\) or \(0.523\) by window, \(0.233\) over the map |
What the electrodes deliver is a set of differences. Where zero sits is a montage, what counts as a rhythm is a band definition, what counts as a component is a contrast function, and what counts as a peak is a maximum over an interval someone chose. The recording is the same throughout.
PhysioNet EEG Motor Movement/Imagery Database, subject S001, runs \(6\), \(10\) and \(14\), retrieved through mne.datasets.eegbci: \(64\) channels at \(160\) Hz, \(375\) s, \(90\) annotated events. Channel names standardised with eegbci.standardize and positions from the standard_1005 montage. Analysis with MNE-Python \(1.8.0\) and NumPy \(1.26.4\). https://physionet.org/content/eegmmidb/1.0.0/
Unless stated otherwise the pipeline is: band-pass \(1\)–\(40\) Hz, average reference, epochs \(-0.5\) to \(1.0\) s, baseline \((-0.2, 0)\), channel C3, event T2 (\(24\) epochs), peak defined as the maximum absolute amplitude in \(100\)–\(600\) ms. Permutation tests use \(4000\) sign flips for the single channel and \(1000\) for the full map.
“Alpha is a rhythm near 10 Hz” is the first result of every EEG course. The sentence stands on a chain. A converter writes integers. A gain turns them into microvolts. An electrode is taken to be one place, referred to another. A header rate turns samples into seconds. A value is taken to have a size. A mathematics finds a structure, and a definition picks one point of that structure as “the peak”. Here every link is replaced, from the integers up, and the question is which link sets the peak and what is left of it once everything is made relative.
The record is the EEG Motor Movement/Imagery Dataset (Schalk, version 1.0.0, PhysioNet, 2009, doi:10.13026/C28G6P; Open Data Commons Attribution License v1.0), recorded with the BCI2000 system (Schalk et al., IEEE Trans. Biomed. Eng. 51 (2004) 1034–1043) and distributed by PhysioNet (Pollard et al., Nature Health (2026), doi:10.1038/s44360-026-00096-z). The two baseline runs of subjects S001–S040 were used: R01 (eyes open) and R02 (eyes closed), one minute each, 80 recordings in all. Each file is EDF: 64 channels of 16-bit integers in records of one second, with a header rate of 160 per second, a physical unit “uV”, and a prefilter field of “HP:0Hz LP:0Hz N:0Hz”. Files were read byte by byte without an EEG library; each file size equals the size its header implies. Channels O1, Oz, O2 and POz were analysed, and Fz served as a clock where a clock was taken from the record. The two runs are used as two recordings, not as two conditions.
| layer | what it assumes | replaced by |
| L0 integer | the 16-bit word | 16 bits; top 8 bits; sign only |
| L1 voltage | integer \(\times \) header gain | integer; header gain; random gain per channel |
| L2 space | one channel is one place | as recorded; average reference; neighbour difference; labels shuffled |
| L3 clock | equal sample steps | samples; Fz events (one Fz cycle = 16 steps); warped; stretched \(\times 2\); shrunk \(\times \tfrac 12\) |
| L4 number | a value has a size | size; rank; up/down sign; square |
| L5 structure and peak | a sum of sinusoids, peak at maximum power | Fourier with three peak definitions (maximum; maximum above a \(1/f\) fit; most prominent local maximum); ordinal patterns; spacing of maxima; mutual information over lag |
Every length below is in steps of the clock chosen in L3. The header rate of 160 per second is used nowhere in the calculation; a length \(L\) is converted to “Hz” as \(160/L\) only to show what the conventional reading would call it.
| layer | share | median peak length by option (steps) |
| L0 integer | \(0.01\) | 16 bits 11.7, top 8 bits 14.7, sign 12.1 |
| L1 voltage | \(0.00\) | integer 11.9, header gain 13.3, random gain 12.8 |
| L2 space | \(0.01\) | channel 12.5, average 10.6, neighbour 15.6, labels shuffled 12.5 |
| L3 clock | \(0.08\) | samples 8.7, events 17.2, warped 19.3, \(\times 2\) 13.3, \(\times \tfrac 12\) 9.1 |
| L4 number | \(0.08\) | size 14.0, rank 15.4, up/down 6.9, square 15.6 |
| L5 structure and peak | \(0.57\) | Fourier max 39.2, above \(1/f\) 6.5, local max 4.2, ordinal 37.7, maxima 6.6, mutual information 12.4 |
The integers, the gain and the choice of electrode barely move the peak. More than half of where it lies is set by the mathematics that looks for it and by the definition of a peak.
In the conventional chain (16-bit integers, header gain, the channel as recorded, equal samples, values with size, Fourier), only the definition of a peak was changed.
Maximum power gives alpha. Removing the \(1/f\) trend, or asking for the most prominent local bump, gives 60 Hz, the frequency of the mains supply where the data were recorded. Which of the two is “the peak” is chosen by the definition.
The same record was then read on five clocks, with everything else as in the conventional chain.
| structure | samples | Fz events | warped | \(\times 2\) | \(\times \tfrac 12\) |
| Fourier, maximum | 15.8 (10.1) | 157.5 (1.0) | 157.5 (1.0) | 31.5 (5.1) | 8.4 (19.2) |
| Fourier, above \(1/f\) | 2.7 (60.0) | 16.0 (10.0) | 13.3 (12.0) | 5.3 (30.0) | 4.0 (40.0) |
| Fourier, local maximum | 2.7 (60.0) | 16.0 (10.0) | 4.3 (36.8) | 3.2 (50.0) | 4.0 (40.0) |
| ordinal patterns | 20.0 (8.0) | 76.0 (2.1) | 36.0 (4.4) | 60.0 (2.7) | 28.0 (5.7) |
| spacing of maxima | 3.0 (53.3) | 6.0 (26.7) | 4.0 (40.0) | 6.0 (26.7) | 4.0 (40.0) |
| mutual information | 15.0 (10.7) | 28.0 (5.7) | 15.0 (10.7) | 30.0 (5.3) | 8.0 (20.0) |
Stretching the clock doubles the peak and shrinking it halves it: Fourier maximum \(15.8 \to 31.5 \to 8.4\), mutual information \(15.0 \to 30.0 \to 8.0\). The same minute of record is 5, 10 or 20 “Hz” depending on the clock. When the clock is taken from Fz itself, two of the Fourier definitions find their peak at exactly 16 steps, one cycle of the clock channel: the clock has written its own period into the result.
| structure | beats the order-shuffled signal |
| Fourier, maximum | \(0.98\) |
| Fourier, above \(1/f\) | \(0.96\) |
| Fourier, local maximum | \(0.84\) |
| ordinal patterns | \(0.98\) |
| spacing of maxima | \(0.12\) |
| mutual information | \(0.86\) |
Something in the record is not shuffled noise; five of the six structures find it in most channel-recordings. What it is, where it lies and how many cycles a second it has are not fixed by it.
Absolute lengths depend on the clock, so the last question is relative: do recordings and channels keep their order by peak length when the layers change? The order under every combination was compared with the order under the conventional chain.
| rank agreement | |
| all combinations, median | \(0.169\) |
| all combinations, 10–90% | \(-0.076\) to \(0.433\) |
| highest by layer option | samples \(+0.30\), Fourier local maximum \(+0.30\), maxima \(+0.30\) |
| lowest by layer option | Fz events \(+0.06\), mutual information \(+0.09\) |
Even the order is mostly lost. Which recording has the longer peak is decided by the layers, not by the record.
| fixed by the record | put in |
|
| structure | something beyond shuffled order (\(0.84\)–\(0.98\) for five structures) | – |
| which peak | – | definition: 10 “Hz” or 60 “Hz” from one spectrum |
| where the peak is | – | structure (\(57\%\)), clock and number (\(8\%\) each) |
| Hz | – | clock: 5, 10 or 20 from one minute |
| order of recordings | – | rank agreement \(0.17\) |
| voltage, electrode | – | barely matter (\(\le 1\%\)) |
The integers fix that the record is not shuffled noise. They do not fix a rhythm at 10 Hz. The number 10 needs a definition of a peak, a mathematics that finds structure, and a clock that turns steps into seconds; each choice moves it, and the clock can put it anywhere.
The data are runs R01 and R02 of subjects S001–S040 of the EEG Motor Movement/Imagery Dataset (doi:10.13026/C28G6P). get_edf.py downloads and checks the files against their headers. eeg_relative.py builds every combination and writes eeg_relative.json. fig_eeg.py draws the figure.
The record’s own peak at O1 (Fourier maximum, conventional chain) lies at a median of 16.0 samples, 10.0 “Hz”. Ten targets were then set, 1, 2, 3, 5, 8, 13, 21, 34, 55 and 70 “Hz” (\(160/T\) steps), and the peak was moved to each by three makers: the clock rescaled by \(T/L_0\); the Fz event clock divided into \(T\) steps per Fz cycle; and a phase built from the record’s own zero crossings, without Fourier, multiplied by \(L_0/T\). Four finders then measured where the peak landed, in 80 recordings.
| maker | finder | median \(|\log _2(\text {found}/\text {target})|\) | within 10% | rank corr. |
| clock rescaled | Fourier, maximum | 0.030 | 0.57 | 0.548 |
| clock rescaled | mutual information | 1.044 | 0.31 | 0.288 |
| clock rescaled | ordinal patterns | 1.766 | 0.01 | 0.377 |
| clock rescaled | Fourier, above \(1/f\) | 1.349 | 0.38 | \(-0.088\) |
| event clock, \(T\) steps | Fourier, maximum | 2.263 | 0.31 | 0.360 |
| event clock, \(T\) steps | mutual information | 0.963 | 0.30 | 0.626 |
| event clock, \(T\) steps | ordinal patterns | 2.350 | 0.00 | 0.480 |
| event clock, \(T\) steps | Fourier, above \(1/f\) | 0.073 | 0.61 | 0.214 |
| phase multiplied | Fourier, maximum | 1.219 | 0.26 | 0.498 |
| phase multiplied | mutual information | 1.129 | 0.12 | 0.299 |
| phase multiplied | ordinal patterns | 1.392 | 0.07 | 0.397 |
| phase multiplied | Fourier, above \(1/f\) | 1.502 | 0.22 | 0.165 |
With the clock alone, the peak is placed at any target from 1 to 34 “Hz” within a few percent. The record’s 10 “Hz” is one of these points, the one given by equal sample steps. The two highest targets fail because shrinking the clock discards samples, which folds faster components down and brings the target to the edge of the search; this is a limit of the maker, not of the record. When maker and finder are matched (clock and Fourier maximum; event subdivision and Fourier above \(1/f\)) the peak lands where it was put. When they are not, each finder picks its own feature, a half, a double or another component, and the peak lands elsewhere. In neither case does the record decide where the peak is.
| layer | what it adds | replaced by |
| 16-bit integer | – | top 8 bits; sign only |
| voltage | a gain per channel | integers; random gain per channel or per recording |
| space | one channel is one place | average; Cz; neighbour difference; labels shuffled |
| clock | equal sample spacing | event clock (one Fz cycle \(=16\) steps); warped; stretched \(\times 2\); shrunk \(\times \tfrac 12\) |
| number | magnitude | rank; up/down sign; square |
| decomposition | sinusoids | ordinal patterns; extrema; mutual information |
| peak | a maximum | maximum above a \(1/f\) fit; most prominent local maximum |
| band | 8–13 | 7–12; 9–14; 6–10; 10–15; own peak \(\pm 2\) |
| height | absolute power | relative; log; \(z\); above \(1/f\) |
The record gives a length in samples. With the mutual-information decomposition, the characteristic length of O1 is 15 samples under equal spacing. Stretching the clock by two gives 29, shrinking it by two gives 8, and the Fz event clock gives 29 Fz steps. At the header rate these read as \(10.7\), \(5.5\), \(20.0\) and \(5.5\) ‘Hz’. The frequency is the length divided by a clock the record does not fix.
| property | what is chosen | what follows |
| position | which pieces are averaged | 1 s pieces: average lands on 3, 6, 8, 10, 11 ‘Hz’ in \(86\)–\(99\%\) of recordings |
| position | group or individual | group-average peak \(10.00\); individual peaks 3–11 (median \(8.00\)) |
| spread | – | per-piece peaks: IQR \(4.25\) ‘Hz’ (1 s), \(2.69\) (4 s) |
| decimals | window, taper, padding | values on the bin grid in \(100\%\); peak moves by median \(1.0\), up to \(15.1\) ‘Hz’ |
| count | window length | 1 peak at 0.5 s, 110 at 16 s (median; max \(-\) min per recording 109) |
| residual | range of the \(1/f\) fit | fit to 1–40: alpha in \(74\%\); fit to 1–79: 60 ‘Hz’ in \(71\%\) |
| name | band edges | the record’s peak lies inside the band in \(30\)–\(53\%\) |
| existence | reference | 60 ‘Hz’ line \(42\times \) (as recorded) to \(8.6\times \) (neighbour difference) |
The peak is not a fixed object of the record. Its position follows the pieces chosen for averaging, the group peak at \(10.00\) ‘Hz’ is a peak of no individual, its decimals are those of the bin grid, its count runs from one to over a hundred with the window, and the fit of the \(1/f\) background decides whether what is left is the alpha band or the mains line. The phase agreement across the 64 channels is about the same at 60 ‘Hz’ (\(0.77\)) and at the alpha peak (\(0.74\)), so it does not separate the line from the brain.
Four operations were used to put a peak at 20 to 70 ‘Hz’ in every recording: a narrow band filter at the target, a shift by multiplication with a cosine, a change of clock, and squaring followed by a change of clock. A peak was counted at the target if it lay within 1 ‘Hz’ under each of three definitions.
| operation | maximum | maximum above \(1/f\) | local peak |
| narrow band | \(1.00\) | \(1.00\) | \(1.00\) |
| shift | \(0.03\)–\(0.06\) | \(0.00\)–\(0.17\) | \(0.90\)–\(0.94\) |
| square, then clock | \(0.01\)–\(0.05\) | \(0.07\)–\(0.24\) | \(0.69\)–\(0.79\) |
| clock | \(0.16\)–\(0.30\) | \(0.23\)–\(0.44\) | \(0.57\)–\(0.81\) |
| unprocessed record | – | – | \(0.19\)–\(0.40\) (\(0.96\) at 60) |
Every operation makes the peak, and the definition of a peak decides whether it is counted. Under the local definition the four operations place it in \(57\)–\(100\%\) of recordings, against \(19\)–\(40\%\) for the unprocessed record at the same targets; only at 60 ‘Hz’, where the mains line already stands, does the unprocessed record reach \(96\%\).
Recordings were ordered by alpha height, and one choice at a time was changed from the conventional one (header gain, 8–13, O1, whole record, 4 s window, magnitude, absolute power).
| choice changed | rank agreement | pairs whose order flips |
| number: sign only | \(+0.727\) | \(0.237\) |
| number: rank | \(+0.720\) | \(0.236\) |
| gain: random per recording | \(+0.682\) | \(0.234\) |
| height: above \(1/f\) | \(+0.799\) | \(0.200\) |
| height: relative | \(+0.813\) | \(0.187\) |
| band: own peak \(\pm 2\) | \(+0.850\) | \(0.157\) |
| channel: Fz | \(+0.863\) | \(0.157\) |
| channel: O2, Oz | \(+0.985\), \(+0.990\) | \(0.047\), \(0.037\) |
| time: first or second half | \(+0.986\), \(+0.985\) | \(0.043\), \(0.044\) |
| band: 7–12, 9–14 | \(+0.995\), \(+0.991\) | \(0.028\), \(0.026\) |
| window: 1 s, 8 s | \(+0.998\), \(+0.999\) | \(0.014\), \(0.008\) |
| reversed by at least one choice | \(0.616\)
| |
The order survives a shift of the band edges, the window, the half of the record and a neighbouring channel. It does not survive the choices that set what height is: whether magnitude is kept, whether the gain makes recordings comparable, whether height is absolute, relative or above the background, and which channel is read. Six pairs in ten are reversed by at least one single choice.
| fixed by the record | put in |
|
| frequency | a length in samples | the clock (5.5 to 20 ‘Hz’ from one record) |
| position | a range reachable by averaging (3–12 ‘Hz’) | which pieces are averaged |
| decimals | – | the bin grid |
| count | – | the window (1 to 110) |
| alpha or mains | – | the range of the \(1/f\) fit |
| band membership | – | the band edges |
| peak at a target | – | the operation and the definition of a peak |
| order of people | stable under small changes | what height is (\(62\%\) of pairs reversible) |
The integers fix a length in samples and, within one clock, a range in which averaging can place a peak. Every other property of “alpha at 10 Hz” — its frequency, its decimals, its count, its separation from the mains line, its band, its very presence at a chosen frequency, and the order of who has more of it — is set by a choice made above the record.
The data are runs 1 and 2 of subjects 1–40 of the PhysioNet EEG Motor Movement/Imagery Dataset (eegmmidb 1.0.0). get_edf.py downloads and checks the files, eeg_relative.py replaces the layers of the chain, eeg_peak_all.py makes the peak to order, eeg_order_make.py tests the order and makes peaks at chosen frequencies, and fig_eeg.py draws the figure and the unprocessed baseline.