Symbols and notation
This page maps the mathematical notation to the arrays used by HighOrderMRI. Use it alongside the encoding model for physical phase conventions and the low-rank derivation for the algorithm. Unless a page explicitly states a local convention, the same symbol has the same meaning throughout the documentation.
The readouts indexed by
Indices and sizes
| Symbol | Meaning |
|---|---|
| Readout (encoding profile): dynamic, interleave, shot, or repeated encoding of the same unknown image | |
| ADC sample index within dynamic | |
| Masked reconstruction-voxel index | |
| Receive-coil index | |
| Solid-harmonic basis-term index | |
| Shared-mode index; | |
Number of ADC samples per readout (nSam) | |
Number of readouts (nDyn) | |
| Total actual time rows in the stacked residual matrix | |
Number of voxels inside the reconstruction mask, count(mask) | |
| Spatial-axis index, x/y/z; distinct from readout | |
| Number of grid points along spatial axis | |
Full image-grid size, prod(grid.matrixSize); includes masked-out voxels | |
| Number of receive channels after any coil compression | |
Retained local per-profile rank (L_rank) | |
Additional sketch directions (rsvd_oversample); sketch width is | |
| Completed incremental shared rank before optional global recompression | |
| Final shared spatial rank; |
Physical and image-domain quantities
| Symbol | Meaning | Typical units / dimensions |
|---|---|---|
| Physical voxel coordinate | m when the grid is specified in metres | |
| Coordinate of masked voxel | m | |
| Complex transverse magnetization / masked image value; shared by all profiles | arbitrary signal units | |
| Receive sensitivity of coil | complex relative sensitivity | |
| Static off-resonance map | Hz when time is in s | |
| Real solid-harmonic spatial basis function | depends on harmonic order and coordinate units | |
| Physical voxel spacing along axis | m or another consistently used length unit |
Dynamic field and phase quantities
| Symbol | Meaning | Typical units |
|---|---|---|
| Instantaneous coefficient of solid-harmonic term | Hz per basis unit | |
| Time-integrated coefficient | cycles per basis unit | |
| Zeroth-order spatially uniform accumulated phase | cycles | |
| First-order accumulated coefficients along x/y/z; Fourier encoding uses the active subset | reciprocal physical length | |
Active Fourier axes: x/y for nZ == 1, x/y/z otherwise | axis set | |
Modeled higher-order solid-harmonic rows, 5 through nTerm | row set | |
| Residual rows: | row set | |
| Additional accumulated concomitant phase | cycles | |
| Total accumulated encoding phase before multiplication by | cycles | |
| ADC sampling time of sample | s when | |
| NFFT node | dimensionless | |
| Zeroth-order modulation | complex unit modulus | |
| Parity-dependent NFFT centre correction, or one when disabled | complex unit modulus |
In the implementation, the time-integrated coefficients kspha. Convert field-camera phase from radians to cycles before supplying it; the encoding constructors do not integrate instantaneous fields or perform this conversion. The physical first-order dot product uses x/y/z; the NFFT uses only axes in
Encoding matrices and operators
| Symbol | Meaning | Dimensions |
|---|---|---|
| Diagonal zeroth-order temporal modulation | ||
| First-order Fourier encoding matrix | ||
| First-order Fourier/NFFT encoding stacked over readouts, with full-grid embedding of masked inputs | sample space | |
| Residual phase matrix containing static off-resonance and non-NFFT field terms | ||
| All residual phase blocks | ||
| Complete single-dynamic spatial encoding matrix, excluding coil multiplication and the symmetric normalization | ||
| Diagonal matrix of receive sensitivities for coil | ||
| Encoding operator for coil | ||
| Multi-coil encoding operator, with profile blocks stacked within each coil | ||
Diagonal operator of raw reconstruction weights, repeated over coils by recon_HOOp | ||
| Nonnegative diagonal normal weights, with entries $ | w |
The weighted normal operator is written
H contains only the positive-sign, unit-modulus residual phase. It excludes first-order Fourier encoding, zeroth-order phase, NFFT centre correction, coil sensitivities, weights and
For real non-negative square-root density weights, abs2.(weight).
recon_HOOp applies the raw weights to both the data and normalOperator(op, weights2) convention instead expects the already squared real nonnegative diagonal entries of
Low-rank quantities
The local rSVD sketch width is
| Symbol | Meaning | Dimensions |
|---|---|---|
| Random test matrix used by rSVD | ||
| Randomized range sketch | ||
| Orthonormal basis for the randomized range | ||
| Appended residual modes, equal to | ||
| Projected adjoint matrix | ||
| Retained local sample-domain factor | ||
| Retained projected spatial factor; equals | ||
| Spatial-factor residual after projection onto the existing shared basis | ||
| Right rotation from the local projected SVD/Gram eigensystem | ||
| Incremental shared spatial basis after profile | ||
| Completed incremental shared basis | ||
| Saved incremental coefficient block, zero-padded to rank | ||
| Unscaled temporal factor before optional global recompression | ||
| Final shared spatial basis, orthonormal up to numerical roundoff | ||
| Final unscaled temporal factor, after optional global recompression | ||
| Stored sample-domain coefficient matrix after zeroth-order phase, NFFT-centre correction, and | ||
| Retained local rank- | non-negative scalar | |
Incremental shared-basis tolerance (shared_basis_tol) | dimensionless | |
Additional global recompression tolerance (global_basis_tol, when supplied) | dimensionless |
The shared projection residual is
For incremental rSVD construction, a central implementation detail is that, for an earlier profile, the saved coefficient block is generally not the post-hoc projection of
The incremental shared builder does not retain earlier
Optional final global recompression maps the completed factors to
Joint adaptive low-rank quantities
The joint derivation uses the same H and distinguishes pure coefficients q.
| Symbol | Meaning | Dimensions |
|---|---|---|
| Stacked actual time-row index, with samples fastest within a readout | ||
| Real temporal and spatial residual-phase feature vectors | ||
| Covariance of spatial features over all masked voxels | ||
| Covariance-based phase pseudometric between time states | cycles | |
| Actual representative snapshot count in the derivation; bounded by the requested budget | positive integer | |
| Number of distinct spatial coefficient-fitting points | positive integer | |
| Weighted conjugated phase-snapshot matrix | ||
| Numerically orthogonal snapshot parent | ||
| Actual retained parent width, limited by cap and numerical resolution | positive integer | |
| Orthogonal spatial projector when | ||
| Selection matrix for J different fitting voxels | ||
| Sampled parent for coefficient recovery | ||
| Conditional gappy error-amplification factor; differs from | dimensionless | |
| All-time gappy coefficients before final rotation | ||
| Fitted parent approximation whose spectrum is recompressed | ||
| Leading right-singular directions of the all-time coefficient matrix | ||
| Relative Frobenius residual of the final pure-phase factors against original H | dimensionless | |
| User target for original-H global relative Frobenius error | dimensionless | |
| Statistical failure probability in an optional valid certificate; not epsilon_H | dimensionless |
The subscript zero in
Implementation array names
The q and basis rows in this table describe basis_layout=:shared after optional final recompression. Dimensions describe array layout, independently of CPU/GPU placement.
| Julia name | Mathematical role | Explicit shape | Low-rank shape |
|---|---|---|---|
kspha | (nTerm,nSam) | (nTerm,nSam,nDyn) | |
times | (nSam,) | (nSam,nDyn) | |
fieldmap | (nX,nY[,nZ]) | same | |
csm | (nX,nY[,nZ],nCha) | same | |
mask | Reconstruction mask | (nX,nY[,nZ]) | same |
concomitant | Four integrated concomitant coefficients | (4,nSam) | (4,nSam,nDyn) |
| image vector | Full image-grid input | (prod(grid.matrixSize),) | same image for all profiles |
| logical output | Samples before vec | (nSam,nCha) | (nSam,nDyn,nCha) |
q | Concatenated stored | — | (nSam*nDyn,R) |
basis | Final shared spatial basis | — | (nVox,R) |
The single-profile LowRank overload also accepts a coefficient matrix (nTerm,nSam) and a time vector (nSam,). For one profile, concomitant may be (4,nSam).
With basis_layout=:per_readout, q instead has shape (nSam*nDyn,L) and the logical spatial-factor bank has shape (nVox,L*nDyn). Regenerated storage need not materialize this whole bank; see per-readout storage.
Julia column-major vectorization makes samples the fastest-changing index, followed by profiles and then receive channels. For a logical output
Use vec(image) for the full-grid input and vec(data) for output shaped (nSam,nDyn,nCha); masked-out image values do not contribute to the signal.