API reference
Each reference page covers a public type, constructor, or related function group. The Theory pages explain the equations; the Guide pages describe configuration and use.
HighOrderMRIField-aware MRI encoding, reconstruction and preprocessing. The module re-exports MRIGeometry and provides explicit and low-rank encoding operators. Input shapes, phase conventions and backend restrictions are documented at each interface.
Encoding model and operators
Gridandbasisfunc_spha: physical reconstruction grid and real solid-harmonic basis evaluation.HighOrderExplicitOp: Explicit family selector for Array or CUDA acceleration.- Explicit Array options: array-based explicit encoding.
- Explicit CUDA options: Direct kernel and GEMM and phase-reuse with blocked/cached cuBLAS, with
gpusselecting single- or multi-GPU execution. explicit_gpu_normal: resident weighted normal from raw square-root weights; distinct fromnormalOperator(op,D)with an already squared diagonal.HighOrderLowRankOp: Per-readout, Incremental Shared and Direct Shared residual-phase construction, including bounded streaming/regeneration and rank-sharded multi-GPU execution.
Reconstruction
recon_HOOp: iterative reconstruction wrapper, raw sample-weight convention, CPU/CUDA input requirements, and backend cleanup.samplingDensity: square-root sampling-density weights for non-Cartesian reconstruction.CoilCombineSOS: root-sum-of-squares combination along the selected coil dimension.
Coil compression
CoilCompressionTransform: fitted linear receive-coil transform.estimate_noise_covariance: complex receive-noise covariance estimation.noise_prewhitening_scale_factor: dwell-time / receiver-bandwidth scale factor.fit_coil_compression: fit global SVD or noise-whitened SVD compression.apply_coil_compression: apply a fitted transform along a selected coil dimension.compress_coils: fit one transform and apply it consistently to data and CSM.
Field prediction and synchronization
GIRFModel: typed frequency-domain GIRF representation.apply_girf: predict realized field channels from nominal physical gradients.InterpTrajTime: interpolate field/trajectory coefficients to requested ADC times.FindDelay: single-acquisition model-based field/data synchronization.FindDelay_multishot: shared-delay estimation for multi-shot data.
Geometry
- MRIGeometry: physical coordinates, slab handling, resampling and NIfTI export, including current restrictions.
Metrics and utilities
- Reconstruction metrics: raw and aligned complex NRMSE, magnitude NRMSE, SSIM, and compatibility helpers.
- Array and signal utilities: CPU/GPU conversion, trajectory-gradient conversion, resizing, cropping, and factor helpers.
- Plotting helpers: common visualization functions.
- Resource lifecycle: explicit cleanup and safe replacement of large low-rank operators.
Reference vs. methods
Use these pages to check calling conventions and returned objects. Use Symbols and notation, the expanded encoding model, low-rank shared subspace, and the relevant Guide page when interpreting units, phase conventions, approximation parameters, or validation requirements.