Skip to main content

Module diagnostics

Module diagnostics 

Source
Expand description

Structured iteration and per-frame reconstruction diagnostics. Structured convergence, coverage, and per-frame reconstruction diagnostics.

crate::diagnostics::DiagnosticRecorder is a callback that gathers requested data during a run. It produces crate::diagnostics::ReconstructionDiagnostics, while crate::diagnostics::compute_fourier_coverage describes which high-resolution Fourier pixels are sampled by a compiled model.

Structs§

CropIndexDiagnostics
Pixel bounds and center of one source crop in the high-resolution Fourier grid.
DiagnosticRecorder
A cloneable callback whose recorded output remains accessible after a run.
DiagnosticRecorderConfig
Controls which diagnostics a DiagnosticRecorder captures and how often.
Diagnostics
Optional diagnostics computed for one callback hook.
FourierCoverageDiagnostics
Summary of individual-source coverage on the high-resolution Fourier grid.
FrameDiagnosticRecord
Comparison metrics for one predicted and reference acquisition frame.
IterationDiagnostics
Optional convergence scalars recorded for one completed iteration.
RawFrameStatisticsRecord
Raw measured-intensity statistics for one acquisition frame.
ReconstructionDiagnostics
Serializable diagnostic collections emitted by super::DiagnosticRecorder.

Enums§

DiagnosticRequest
Diagnostic quantity a callback asks the runner to compute for a hook.

Functions§

compute_fourier_coverage
Validates model and derives source centers, crop bounds, NA, and overlap coverage.