pub struct ComplexFieldComparisonMetrics {
pub amplitude_rmse: f64,
pub amplitude_nrmse: f64,
pub complex_rmse: f64,
pub complex_nrmse: f64,
pub phase_rmse: f64,
pub phase_mae: f64,
pub fourier_nrmse: f64,
pub global_phase_offset: f64,
}Expand description
Aggregate errors between reference and globally phase-aligned complex fields.
Fields§
§amplitude_rmse: f64Root-mean-square amplitude error.
amplitude_nrmse: f64Amplitude L2 error normalized by reference-field L2 norm.
complex_rmse: f64Root-mean-square complex residual after global-phase alignment.
complex_nrmse: f64Complex residual L2 norm divided by reference-field L2 norm.
phase_rmse: f64Root-mean-square wrapped phase error in radians over non-dark reference pixels.
phase_mae: f64Mean absolute wrapped phase error in radians over non-dark reference pixels.
fourier_nrmse: f64Centered Fourier-spectrum residual L2 norm divided by reference-spectrum norm.
global_phase_offset: f64Fitted global candidate-to-reference phase offset in radians.
Trait Implementations§
Source§impl Clone for ComplexFieldComparisonMetrics
impl Clone for ComplexFieldComparisonMetrics
Source§fn clone(&self) -> ComplexFieldComparisonMetrics
fn clone(&self) -> ComplexFieldComparisonMetrics
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 Default for ComplexFieldComparisonMetrics
impl Default for ComplexFieldComparisonMetrics
Source§fn default() -> ComplexFieldComparisonMetrics
fn default() -> ComplexFieldComparisonMetrics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ComplexFieldComparisonMetrics
impl<'de> Deserialize<'de> for ComplexFieldComparisonMetrics
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 ComplexFieldComparisonMetrics
impl RefUnwindSafe for ComplexFieldComparisonMetrics
impl Send for ComplexFieldComparisonMetrics
impl Sync for ComplexFieldComparisonMetrics
impl Unpin for ComplexFieldComparisonMetrics
impl UnsafeUnpin for ComplexFieldComparisonMetrics
impl UnwindSafe for ComplexFieldComparisonMetrics
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