pub struct BrightfieldCircleObservation {Show 15 fields
pub frame_index: usize,
pub source_index: usize,
pub nominal_k_rad_per_m: [f64; 2],
pub detected_k_rad_per_m: Option<[f64; 2]>,
pub detected_na: Option<[f64; 2]>,
pub fourier_grid_position: Option<[f64; 2]>,
pub fitted_pupil_radius_na: f64,
pub first_derivative_score: f64,
pub second_derivative_score: f64,
pub combined_score: f64,
pub conjugate_score: f64,
pub usable_arc_fraction: f64,
pub confidence: f64,
pub negative_sample_fraction: f64,
pub rejection_reason: Option<String>,
}Expand description
One considered acquisition frame and its circle-localization diagnostics.
Fields§
§frame_index: usizeZero-based acquisition-frame index.
source_index: usizeStable row-major physical source index.
nominal_k_rad_per_m: [f64; 2]Nominal transverse vector (kx, ky) in radians per metre.
detected_k_rad_per_m: Option<[f64; 2]>Detected transverse vector (kx, ky) in radians per metre, when accepted.
detected_na: Option<[f64; 2]>Detected (NA_x, NA_y) components, when accepted.
fourier_grid_position: Option<[f64; 2]>Detected centered Fourier coordinates (row, column), when accepted.
fitted_pupil_radius_na: f64Best pupil radius for this frame, in dimensionless NA.
first_derivative_score: f64Normalized first-radial-derivative score.
second_derivative_score: f64Normalized second-radial-derivative score.
combined_score: f64Combined deterministic detector score.
conjugate_score: f64Score at the conjugate branch corresponding to -k.
usable_arc_fraction: f64Fraction of requested angular samples contributing to the score.
confidence: f64Fixed confidence weight supplied to the physical fit.
negative_sample_fraction: f64Fraction of background-corrected spatial samples below zero.
rejection_reason: Option<String>Human-readable rejection reason, or None for an accepted observation.
Implementations§
Trait Implementations§
Source§impl Clone for BrightfieldCircleObservation
impl Clone for BrightfieldCircleObservation
Source§fn clone(&self) -> BrightfieldCircleObservation
fn clone(&self) -> BrightfieldCircleObservation
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 BrightfieldCircleObservation
impl Debug for BrightfieldCircleObservation
Source§impl<'de> Deserialize<'de> for BrightfieldCircleObservation
impl<'de> Deserialize<'de> for BrightfieldCircleObservation
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 BrightfieldCircleObservation
impl PartialEq for BrightfieldCircleObservation
Source§fn eq(&self, other: &BrightfieldCircleObservation) -> bool
fn eq(&self, other: &BrightfieldCircleObservation) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BrightfieldCircleObservation
Auto Trait Implementations§
impl Freeze for BrightfieldCircleObservation
impl RefUnwindSafe for BrightfieldCircleObservation
impl Send for BrightfieldCircleObservation
impl Sync for BrightfieldCircleObservation
impl Unpin for BrightfieldCircleObservation
impl UnsafeUnpin for BrightfieldCircleObservation
impl UnwindSafe for BrightfieldCircleObservation
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