pub struct JointReconstructionResult {
pub reconstruction: ReconstructionResult,
pub initial_illumination: Illumination,
pub calibrated_illumination: Illumination,
pub calibrated_model: ImagePlaneModel,
pub initial_parameters: PlanarArrayParameterValues,
pub final_parameters: PlanarArrayParameterValues,
pub parameter_history: Vec<CalibrationParameterHistoryEntry>,
pub loss_history: Vec<CalibrationLossHistoryEntry>,
pub convergence_reason: Option<CalibrationConvergenceReason>,
pub conditioning: CalibrationConditioning,
pub diagnostics: IlluminationCalibrationState,
}Expand description
Structured joint result with a normal reconstruction and reusable physical illumination.
Fields§
§reconstruction: ReconstructionResultOrdinary reconstruction fields, trace, diagnostics, and calibration state.
initial_illumination: IlluminationGauge-normalized initial physical illumination.
calibrated_illumination: IlluminationFinal reusable physical illumination.
calibrated_model: ImagePlaneModelFinal image-plane model refreshed from the calibrated illumination.
initial_parameters: PlanarArrayParameterValuesImmutable initial absolute physical and multiplicative values.
final_parameters: PlanarArrayParameterValuesFinal absolute physical and multiplicative values.
parameter_history: Vec<CalibrationParameterHistoryEntry>Accepted and rejected parameter trials.
loss_history: Vec<CalibrationLossHistoryEntry>Data, regularization, and total objective history.
convergence_reason: Option<CalibrationConvergenceReason>Stop reason for the last illumination phase.
conditioning: CalibrationConditioningPractical finite-difference conditioning indicators.
diagnostics: IlluminationCalibrationStateComplete checkpointable physical state and update counters.
Implementations§
Source§impl JointReconstructionResult
impl JointReconstructionResult
Sourcepub fn from_reconstruction(reconstruction: ReconstructionResult) -> Result<Self>
pub fn from_reconstruction(reconstruction: ReconstructionResult) -> Result<Self>
Builds the structured view from a runner result containing physical state.
Sourcepub fn save_json(&self, path: impl AsRef<Path>) -> Result<()>
pub fn save_json(&self, path: impl AsRef<Path>) -> Result<()>
Serializes the complete structured joint result as JSON.
Sourcepub fn load_json(path: impl AsRef<Path>) -> Result<Self>
pub fn load_json(path: impl AsRef<Path>) -> Result<Self>
Loads and validates a structured joint JSON result.
Sourcepub fn write_bundle(
&self,
path: impl AsRef<Path>,
options: BundleExportOptions,
) -> Result<ResultBundle>
pub fn write_bundle( &self, path: impl AsRef<Path>, options: BundleExportOptions, ) -> Result<ResultBundle>
Writes the ordinary and physical result through the established bundle path.
Trait Implementations§
Source§impl Clone for JointReconstructionResult
impl Clone for JointReconstructionResult
Source§fn clone(&self) -> JointReconstructionResult
fn clone(&self) -> JointReconstructionResult
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for JointReconstructionResult
impl Debug for JointReconstructionResult
Source§impl<'de> Deserialize<'de> for JointReconstructionResult
impl<'de> Deserialize<'de> for JointReconstructionResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for JointReconstructionResult
impl RefUnwindSafe for JointReconstructionResult
impl Send for JointReconstructionResult
impl Sync for JointReconstructionResult
impl Unpin for JointReconstructionResult
impl UnsafeUnpin for JointReconstructionResult
impl UnwindSafe for JointReconstructionResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more