A functional MRI result says that a brain region responded to a stimulus. It rests on a long chain: coil voltages are demodulated into complex samples, the samples are placed on a spiral in \(k\)-space, a Fourier transform makes an image, coil images are combined, a magnitude is taken, volumes are compared over time, and the comparison is aligned to a stimulus schedule. Here the chain is taken apart from the single coil up, and every mathematics used on the way is replaced in turn: the mathematics of a sample, of distance, of time, of grouping and of decision.
The record is the raw spiral fMRI data of Kasper et al., “Advances in spiral fMRI: A high-resolution dataset”, Data in Brief 42 (2022) 108050, doi:10.1016/j.dib.2022.108050. The files were retrieved from the ETH Research Collection (doi:10.3929/ethz-b-000543515; CC BY 4.0). The dataset accompanies Kasper et al., “Advances in spiral fMRI: A high-resolution study with single-shot acquisition”, NeuroImage 246 (2022) 118738, doi:10.1016/j.neuroimage.2021.118738, and was acquired on a 7 T Philips Achieva system.
Subject SPIFI_0007 is used. The raw coil data of the full run are stored as three ISMRMRD files of \(10.1\), \(10.1\) and \(10.4\) GB. Each readout holds 31,644 complex samples from 32 receive coils. The run has 100 volumes; the six central slices were used. The behaviour log fmri1_behav.mat gives 20 block starts (the first at \(9.3\), \(24.0\), \(38.9\) s) and a paradigm length of \(316.5\) s.
The acquisition time stamps in the raw headers take a single value for all 100 volumes, so the record carries no clock. The volume step was therefore set to the paradigm length divided by the number of volumes, \(3.165\) s, and the offset between scanner and paradigm was varied by \(-1\), \(0\) and \(+1\) volume.
| layer | what is replaced | variants |
| coils | which coils, and whether they see the same thing | each of 32 alone; random halves; random fours; all |
| coil identity | the numbering of coils | kept; relabelled the same way; relabelled per volume |
| signal | the demodulated sample | as given; \(Q\) from the next coil; reference shifted 250 Hz; sample order shuffled; time reversed; 4-bit |
| sample mathematics | what one sample is | complex; real pair; polar; order; one bit; 16 symbols; distribution; increment |
| geometry | whether there is an image | none; Fourier grid; direct sum (complex only) |
| distance | same and different | 2–5 per kind (inner products, correlation, Euclid, \(L_1\), rank, cosine, angle, Hamming, mutual information, CDF, Jensen–Shannon, KS) |
| dummy volumes | which volumes count | all; after the first change point |
| time | what time is | order; recurrence after drift; change points; intrinsic steps |
| grouping | what a group is | three hierarchical linkages; \(k\)-medoids; spectral; density |
| decision | what counts as real | 95th percentile; \(z > 2\); rank \(p < 0.05\) |
| stimulus | the schedule | block and parity structure at offsets \(-1\), \(0\), \(+1\) volume |
For every rebuild the rank correlation between the gap of two volumes and their distance was compared with 200 shuffles of volume order.
Under every coil, signal, sample mathematics, geometry, distance and decision rule, volumes far apart in the run differ more than volumes close together. The record drifts.
With the drift removed along the lag axis and a circular-shift null, which keeps neighbouring volumes alike, a recurrence survives in \(2\%\) of rebuilds (a lag near 22 s in eight of them). The step between neighbouring volumes is uneven beyond shuffled in \(3\%\).
Most methods split the run in two, and single linkage splits it in four. With a drifting record a two-way split is the split into early and late volumes.
Two statistics were taken against the block schedule, with volumes closer than four apart left out. The block statistic asks whether volumes inside one block are closer than volumes in different blocks. The parity statistic asks whether blocks of the same parity, the alternation of conditions, are closer than blocks of opposite parity. The null shifts the whole schedule by a quarter to one and three quarters of a block period, which keeps the blocks contiguous and so keeps the drift.
| offset | volumes | 95th percentile | \(z>2\) | rank \(p<0.05\) |
| \(-1\) volume | all | \(0.74\) | \(0.64\) | \(0.73\) |
| \(-1\) volume | after first cut | \(0.79\) | \(0.69\) | \(0.79\) |
| \(0\) | all | \(0.10\) | \(0.07\) | \(0.09\) |
| \(0\) | after first cut | \(0.06\) | \(0.05\) | \(0.06\) |
| \(+1\) volume | all | \(0.12\) | \(0.10\) | \(0.11\) |
| \(+1\) volume | after first cut | \(0.07\) | \(0.06\) | \(0.07\) |
| \(-1\), \(0\), \(+1\) | all and after first cut | \(0.00\)–\(0.06\) | \(0.00\)–\(0.03\) | \(0.00\)–\(0.05\) |
A block structure appears in three quarters of the rebuilds when the scanner is taken to start one volume before the paradigm, and in one tenth or less at the other two offsets. The record holds no clock, so it does not say which offset is right; the trace of the stimulus appears only once that offset is chosen. A difference between conditions does not appear at any offset.
At offset \(0\), the block structure also depends on the representation: it appears in \(23\%\) of single-coil rebuilds against \(2\)–\(6\%\) for coil subsets, images and the shaken signals, and under the inner-product, distribution and magnitude distances (\(19\)–\(26\%\)) more than under correlation, Euclid, \(L_1\), rank or Hamming (\(0\)–\(7\%\)).
| fixed by the record | put in |
|
| order | volumes drift (\(100\%\) of rebuilds, every rule) | – |
| recurrence | – | a period (\(2\%\) of rebuilds) |
| groups | a split in two (early and late) | more groups (single linkage, density) |
| clock | – | volume step \(3.165\) s, from the behaviour log |
| stimulus blocks | – | the scanner–paradigm offset (\(74\)–\(79\%\) at one offset, \(\le 12\%\) at the others) |
| conditions | – | no parity structure at any offset (\(\le 6\%\)) |
The coil samples fix that the run changes in order, and they fix it under every mathematics tried. They do not fix a period, a condition difference, or a clock. A response locked to the stimulus appears only when the scanner and the paradigm are aligned by a choice the record does not contain, and a difference between conditions does not appear under any alignment.
The data are the raw ISMRMRD files and behaviour logs of subject SPIFI_0007 from the ETH Research Collection (doi:10.3929/ethz-b-000543515). kspace_bottom.py reads the coil samples and defines the signal, sample mathematics, images and time tests. kspace_allmath.py builds the 899 rebuilds and writes kspace_allmath.json.
Remark 519.1. Almost every public fMRI dataset, including the OpenNeuro collection (ds000105), is distributed as reconstructed images: one magnitude value per voxel per repetition time. These images are already a projection of the record. The signal received by the scanner is complex-valued, recorded separately by each receive coil, and sampled in \(k\)-space along the gradient trajectory. Reconstruction combines the coils into one channel, discards the phase, and maps \(k\)-space onto a voxel grid by a Fourier transform with a chosen resolution and timing. Every layer analysed above stands on that projection: whether two conditions differ, which voxels are active, and what counts as a region. None of these analyses can show whether the projection itself creates what is then found. For this reason the reconstructed datasets cannot serve as the bottom of the record.
The dataset of Kasper et al. (“Advances in spiral fMRI: A high-resolution dataset”, Data in Brief 42 (2022) 108050, 10.1016/j.dib.2022.108050; data 10.3929/ethz-b-000487412) is chosen because it releases the record before the projection. It contains the raw signal of each receive coil in ISMRMRD format, the encoding magnetic fields measured concurrently with a field camera, and, for comparison, the coil sensitivity maps and the images the authors reconstructed. With these, the coil combination, the treatment of the phase, the trajectory, the mapping from \(k\)-space to an image and the voxel grid can all be varied, and the record can be compared before any image is formed.
The dataset has limits of its own. It comes from a single subject on a single 7 T scanner with a single spiral sequence and a visual quarter-field paradigm. The raw coil data of the full run are distributed already rotated to the slice geometry of the authors’ reconstruction. Only one volume is also given in scanner coordinates, with both the measured and the nominal trajectory. The analogue-to-digital conversion and the receive chain below the coil signal are not recorded. Whatever the dataset fixes, it fixes for this record, not for fMRI in general.