Skip to main content

Module algorithms

Module algorithms 

Source
Expand description

Reconstruction algorithms and their shared execution contract. Iterative reconstruction algorithms for compiled image-plane models.

Choose a concrete solver such as crate::algorithms::AlternatingProjection, crate::algorithms::AdaptiveAlternatingProjection, crate::algorithms::Fpie, crate::algorithms::Mpie, crate::algorithms::Epry, crate::algorithms::Admm or crate::algorithms::GradientDescent. All implement crate::algorithms::ReconstructionAlgorithm and consume a validated crate::reconstruction::ReconstructionProblem; illumination geometry is compiled beforehand into the problem’s crate::model::ImagePlaneModel.

crate::algorithms::SpectralAlternatingProjection reconstructs wavelength fields from a compiled crate::model::SpectralImagePlaneModel. crate::algorithms::MultiWavelengthGradientDescent instead fits wavelength amplitudes and one shared nondispersive OPD to those detector measurements, using referenced phase mixing or an explicit OPD start.

Modules§

objective
Optimization objectives used by reconstruction algorithms.

Structs§

AdaptiveAlternatingProjection
Noise-robust alternating projection with a pass-adaptive object step.
AdaptiveAlternatingProjectionIterationMetrics
Effective object step used by one adaptive-projection iteration.
Admm
Linearized ADMM reconstruction for Fourier ptychographic microscopy.
AdmmIterationMetrics
ADMM consensus metrics accumulated over every active detector-field mode in one complete iteration.
AlternatingProjection
Alternating-projection reconstruction for Fourier ptychographic microscopy.
Epry
Embedded pupil-recovery reconstruction for Fourier ptychographic microscopy.
Fpie
Regularized ptychographic iterative-engine reconstruction adapted to FPM.
GradientDescent
Wirtinger-style loss-gradient reconstruction for Fourier ptychography.
GradientDescentIterationMetrics
Truncation statistics emitted by one gradient-descent iteration.
JointIterationMetrics
Scalar metrics emitted after one alternating object/illumination outer iteration.
JointReconstruction
Alternates an existing object or object/pupil algorithm with physical LED calibration.
JointReconstructionResult
Structured joint result with a normal reconstruction and reusable physical illumination.
Mpie
Momentum-accelerated regularized PIE adapted to image-plane FPM.
MultiWavelengthGradientDescent
Fits one shared nondispersive OPD and a positive amplitude for each wavelength.
MultiWavelengthSolverResult
Joint OPD fit, derived wavelength fields, and optional initialization diagnostics.
NoIterationMetrics
Metrics type for algorithms that have no stable algorithm-specific scalar.
SpectralAlternatingProjection
Object-only alternating projection for separate or multiplexed spectral data.
StepOutput
Typed output from one algorithm batch.
StepSummary
Universal, algorithm-neutral information produced by one batch step.

Traits§

AlgorithmIterationMetrics
Algorithm-owned iteration metrics.
ReconstructionAlgorithm
Contract implemented by iterative image-plane reconstruction solvers.
SpectralReconstructionAlgorithm
Separate solver contract for compiled narrowband spectral models.