pub struct IlluminationCalibrationState {Show 14 fields
pub initial_illumination: Illumination,
pub current_illumination: Illumination,
pub initial_parameters: PlanarArrayParameterValues,
pub current_parameters: PlanarArrayParameterValues,
pub parameter_names: Vec<String>,
pub normalized_variables: Vec<f64>,
pub applied_constraints: Vec<String>,
pub parameter_history: Vec<CalibrationParameterHistoryEntry>,
pub loss_history: Vec<CalibrationLossHistoryEntry>,
pub convergence_reason: Option<CalibrationConvergenceReason>,
pub conditioning: CalibrationConditioning,
pub geometry_recompilations: usize,
pub multiplicative_updates: usize,
pub rejected_steps: usize,
}Expand description
Checkpointable physical calibration values, histories, constraints, and diagnostics.
Fields§
§initial_illumination: IlluminationGauge-normalized illumination at calibration initialization.
current_illumination: IlluminationCurrent normal reusable calibrated illumination.
initial_parameters: PlanarArrayParameterValuesImmutable initial absolute parameter values.
current_parameters: PlanarArrayParameterValuesCurrent absolute parameter values.
parameter_names: Vec<String>Stable active parameter names, including source and frame indices.
normalized_variables: Vec<f64>Current (value - initial) / scale values in parameter-name order.
applied_constraints: Vec<String>Gauge and bound constraints applied to the parameterization.
parameter_history: Vec<CalibrationParameterHistoryEntry>Accepted and rejected normalized parameter trials.
loss_history: Vec<CalibrationLossHistoryEntry>Data, regularization, and total loss history.
convergence_reason: Option<CalibrationConvergenceReason>Stop reason for the most recent illumination phase.
conditioning: CalibrationConditioningPractical finite-difference conditioning diagnostics.
geometry_recompilations: usizeGeometry trial evaluations that recompiled positions, vectors, and crops.
multiplicative_updates: usizeSource-power or frame-gain trial evaluations that retained geometry and crops.
rejected_steps: usizeTotal bounded line-search failures or rejected optimizer steps.
Implementations§
Trait Implementations§
Source§impl Clone for IlluminationCalibrationState
impl Clone for IlluminationCalibrationState
Source§fn clone(&self) -> IlluminationCalibrationState
fn clone(&self) -> IlluminationCalibrationState
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 IlluminationCalibrationState
impl Debug for IlluminationCalibrationState
Source§impl<'de> Deserialize<'de> for IlluminationCalibrationState
impl<'de> Deserialize<'de> for IlluminationCalibrationState
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>,
Source§impl PartialEq for IlluminationCalibrationState
impl PartialEq for IlluminationCalibrationState
Source§fn eq(&self, other: &IlluminationCalibrationState) -> bool
fn eq(&self, other: &IlluminationCalibrationState) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IlluminationCalibrationState
Auto Trait Implementations§
impl Freeze for IlluminationCalibrationState
impl RefUnwindSafe for IlluminationCalibrationState
impl Send for IlluminationCalibrationState
impl Sync for IlluminationCalibrationState
impl Unpin for IlluminationCalibrationState
impl UnsafeUnpin for IlluminationCalibrationState
impl UnwindSafe for IlluminationCalibrationState
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