pub struct Diagnostics {
pub objective: Option<f64>,
pub per_frame_objective: Option<Vec<f64>>,
pub raw_frame_statistics: Option<Vec<RawFrameStatisticsRecord>>,
pub frame_diagnostics: Option<Vec<FrameDiagnosticRecord>>,
pub object_amplitude: Option<Array2<f64>>,
pub object_phase: Option<Array2<f64>>,
pub pupil_amplitude: Option<Array2<f64>>,
pub pupil_phase: Option<Array2<f64>>,
pub residual_images: Option<Vec<Array2<f64>>>,
}Expand description
Optional diagnostics computed for one callback hook.
Fields§
§objective: Option<f64>Weight-normalized objective, when requested.
per_frame_objective: Option<Vec<f64>>Objective in acquisition-frame order, when requested.
raw_frame_statistics: Option<Vec<RawFrameStatisticsRecord>>Raw frame statistics in acquisition-frame order, when requested.
frame_diagnostics: Option<Vec<FrameDiagnosticRecord>>Frame comparison records in acquisition-frame order, when requested.
object_amplitude: Option<Array2<f64>>Owned high-resolution (row, column) object amplitude snapshot.
object_phase: Option<Array2<f64>>Owned high-resolution wrapped object phase snapshot in radians.
pupil_amplitude: Option<Array2<f64>>Owned low-resolution pupil amplitude snapshot.
pupil_phase: Option<Array2<f64>>Owned low-resolution wrapped pupil phase snapshot in radians.
residual_images: Option<Vec<Array2<f64>>>Owned predicted-minus-measured intensity images in acquisition-frame order.
Trait Implementations§
Source§impl Clone for Diagnostics
impl Clone for Diagnostics
Source§fn clone(&self) -> Diagnostics
fn clone(&self) -> Diagnostics
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 Diagnostics
impl Debug for Diagnostics
Source§impl Default for Diagnostics
impl Default for Diagnostics
Source§fn default() -> Diagnostics
fn default() -> Diagnostics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Diagnostics
impl RefUnwindSafe for Diagnostics
impl Send for Diagnostics
impl Sync for Diagnostics
impl Unpin for Diagnostics
impl UnsafeUnpin for Diagnostics
impl UnwindSafe for Diagnostics
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