pub struct WaveletLeaderDiagnostics {
pub moments: Vec<f64>,
pub scaling_exponents: Vec<f64>,
pub curvature_score: Option<f64>,
pub linearity_r2: Option<f64>,
}Expand description
Convenience diagnostics for wavelet-leader scaling.
Bundles together the moments q, scaling exponents ζ(q), and two scalar scores:
curvature_score: |ζ’’(0)| based on ζ(−1), ζ(0), ζ(1) if availablelinearity_r2: R² of the best linear fit ζ(q) ≈ a·q + b
Fields§
§moments: Vec<f64>Moments q used in the analysis.
scaling_exponents: Vec<f64>Scaling exponents ζ(q) for each moment q.
curvature_score: Option<f64>Curvature-based multifractality score |ζ’’(0)|.
linearity_r2: Option<f64>R² for the linear fit ζ(q) ≈ a·q + b.
Trait Implementations§
Source§impl Clone for WaveletLeaderDiagnostics
impl Clone for WaveletLeaderDiagnostics
Source§fn clone(&self) -> WaveletLeaderDiagnostics
fn clone(&self) -> WaveletLeaderDiagnostics
Returns a duplicate of the value. Read more
1.0.0 · 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 WaveletLeaderDiagnostics
impl RefUnwindSafe for WaveletLeaderDiagnostics
impl Send for WaveletLeaderDiagnostics
impl Sync for WaveletLeaderDiagnostics
impl Unpin for WaveletLeaderDiagnostics
impl UnwindSafe for WaveletLeaderDiagnostics
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