pub struct PeakConfig {
pub threshold: f64,
pub peak_bias: f64,
pub min_events: usize,
pub resolution: usize,
}Expand description
Configuration for peak isolation.
Fields§
§threshold: f64Fraction of max density required to count as a peak (0–1).
peak_bias: f64Upper/lower bias within the peak (0.5 = centered 50%). 1.0 keeps the full peak.
min_events: usizeMinimum events retained after isolation.
resolution: usizeKDE grid resolution.
Trait Implementations§
Source§impl Clone for PeakConfig
impl Clone for PeakConfig
Source§fn clone(&self) -> PeakConfig
fn clone(&self) -> PeakConfig
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 moreimpl Copy for PeakConfig
Source§impl Debug for PeakConfig
impl Debug for PeakConfig
Auto Trait Implementations§
impl Freeze for PeakConfig
impl RefUnwindSafe for PeakConfig
impl Send for PeakConfig
impl Sync for PeakConfig
impl Unpin for PeakConfig
impl UnsafeUnpin for PeakConfig
impl UnwindSafe for PeakConfig
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