pub struct IterationDiagnostics {
pub iteration: usize,
pub total_objective: Option<f64>,
pub data_objective: Option<f64>,
pub regularization_objective: Option<f64>,
pub object_relative_change: Option<f64>,
pub pupil_relative_change: Option<f64>,
pub median_frame_objective: Option<f64>,
pub worst_frame_objective: Option<f64>,
pub elapsed_seconds: Option<f64>,
}Expand description
Optional convergence scalars recorded for one completed iteration.
Fields§
§iteration: usizeOne-based completed iteration number.
total_objective: Option<f64>Full reported objective, when available.
data_objective: Option<f64>Data-fidelity contribution to the objective, when separated by the solver.
regularization_objective: Option<f64>Regularization contribution to the objective, when separated by the solver.
object_relative_change: Option<f64>Relative change in the complex object field since the previous snapshot.
pupil_relative_change: Option<f64>Relative change in the complex pupil since the previous snapshot.
median_frame_objective: Option<f64>Median acquisition-frame objective for this iteration.
worst_frame_objective: Option<f64>Maximum acquisition-frame objective for this iteration.
elapsed_seconds: Option<f64>Wall-clock seconds elapsed since reconstruction start.
Trait Implementations§
Source§impl Clone for IterationDiagnostics
impl Clone for IterationDiagnostics
Source§fn clone(&self) -> IterationDiagnostics
fn clone(&self) -> IterationDiagnostics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IterationDiagnostics
impl Debug for IterationDiagnostics
Source§impl<'de> Deserialize<'de> for IterationDiagnostics
impl<'de> Deserialize<'de> for IterationDiagnostics
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IterationDiagnostics
impl RefUnwindSafe for IterationDiagnostics
impl Send for IterationDiagnostics
impl Sync for IterationDiagnostics
impl Unpin for IterationDiagnostics
impl UnsafeUnpin for IterationDiagnostics
impl UnwindSafe for IterationDiagnostics
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
Mutably borrows from an owned value. Read more
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> ⓘ
Converts
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> ⓘ
Converts
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