pub struct SpectralMixingDiagnostics {
pub channel_ids: Vec<String>,
pub matrix: Array2<f64>,
pub singular_values: Vec<f64>,
pub rank: usize,
pub relative_tolerance: f64,
pub absolute_tolerance: f64,
pub condition_number: Option<f64>,
}Expand description
Linear weight diagnostics in detector-row and stable channel order. These omit spatial forward operators and do not prove nonlinear recoverability.
Fields§
§channel_ids: Vec<String>Stable IDs corresponding to matrix columns.
matrix: Array2<f64>Effective mode weights, shaped (detector frames, channels).
singular_values: Vec<f64>Descending singular values; length min(frames, channels).
rank: usizeNumber of singular values strictly above the absolute tolerance.
relative_tolerance: f64Dimensionless threshold relative to the largest singular value.
absolute_tolerance: f64Singular-value threshold in matrix-weight units.
condition_number: Option<f64>Largest/smallest singular value when columns have full numerical rank. None for deficient column rank or an unrepresentable binary64 ratio.
Trait Implementations§
Source§impl Clone for SpectralMixingDiagnostics
impl Clone for SpectralMixingDiagnostics
Source§fn clone(&self) -> SpectralMixingDiagnostics
fn clone(&self) -> SpectralMixingDiagnostics
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 moreAuto Trait Implementations§
impl Freeze for SpectralMixingDiagnostics
impl RefUnwindSafe for SpectralMixingDiagnostics
impl Send for SpectralMixingDiagnostics
impl Sync for SpectralMixingDiagnostics
impl Unpin for SpectralMixingDiagnostics
impl UnsafeUnpin for SpectralMixingDiagnostics
impl UnwindSafe for SpectralMixingDiagnostics
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