Skip to main content

Module model

Module model 

Source
Expand description

Compiled image-plane models, Fourier crops, pupils, and forward propagation. Compiled image-plane forward model used by simulation and reconstruction.

crate::model::ImagePlaneModel stores Fourier crop geometry, sampled crate::model::Pupil transfer, frame gains, and optional multiplexing. crate::model::ForwardModel applies it to an object spectrum, while crate::model::Sampling records the real- and Fourier-space conventions.

Structs§

CropIndices
Source-order collection of Fourier crops.
ForwardModel
Allocation-friendly CPU implementation of the image-plane FPM forward model.
ForwardWorkspace
Reusable host buffers for allocation-free repeated forward evaluations.
FourierCrop
Integer rectangular region within a centered high-resolution Fourier array.
FourierOffset
Fractional Fourier-grid displacement relative to an integer crop origin.
ImagePlaneModel
Algorithm-facing image-plane FPM model. It contains no LED or camera geometry.
Pupil
Owned sampled complex pupil and same-shaped binary aperture support.
Sampling
Physical sampling metadata for low- and high-resolution grids.
SpectralImagePlaneModel
Algorithm-facing narrowband spectral model, containing no physical geometry.
SpectralMixingDiagnostics
Linear weight diagnostics in detector-row and stable channel order. These omit spatial forward operators and do not prove nonlinear recoverability.
SpectralModelChannel
A channel ID paired with its wavelength-specific compiled numerical kernel.

Enums§

CoordinateConvention
Storage and sign convention relating physical wave vectors to Fourier indices.
ObjectCoupling
Explicit sharing of the thin sample’s complex transmission between wavelengths.
ReconstructionShape
Selects an explicit reconstruction grid or an automatic sizing strategy.