pub struct TopologicalFeatures {
pub n_components: usize,
pub total_persistence_h0: f64,
pub max_persistence: f64,
pub mean_persistence: f64,
pub persistence_entropy: f64,
pub betti_curve: Vec<usize>,
pub radii: Vec<f64>,
}Expand description
Topological summary features extracted from a persistence diagram.
Fields§
§n_components: usizeNumber of significant components (persistence > threshold).
total_persistence_h0: f64Total persistence of H₀ (sum of lifetimes).
max_persistence: f64Max persistence (most prominent feature).
mean_persistence: f64Mean persistence of finite intervals.
persistence_entropy: f64Persistence entropy: -Σ (p_i / P) log(p_i / P) where p_i = persistence of interval i.
betti_curve: Vec<usize>Betti curve at selected radii.
radii: Vec<f64>Radii used for Betti curve.
Trait Implementations§
Source§impl Clone for TopologicalFeatures
impl Clone for TopologicalFeatures
Source§fn clone(&self) -> TopologicalFeatures
fn clone(&self) -> TopologicalFeatures
Returns a copy 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 TopologicalFeatures
impl RefUnwindSafe for TopologicalFeatures
impl Send for TopologicalFeatures
impl Sync for TopologicalFeatures
impl Unpin for TopologicalFeatures
impl UnwindSafe for TopologicalFeatures
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