pub enum SignalStabilityMethod {
StandardDeviation {
threshold: f32,
},
RelativeStandardDeviation {
threshold_percent: f32,
},
MovingWindow {
window_size: usize,
max_variation: f32,
},
TrendAnalysis {
max_slope: f32,
},
Combined {
max_std_dev: f32,
max_slope: f32,
},
}Expand description
Method for determining signal stability for GetStableSignal action
Variants§
StandardDeviation
Standard deviation threshold
RelativeStandardDeviation
Relative standard deviation (coefficient of variation)
MovingWindow
Moving window - signal must be stable within sliding window
TrendAnalysis
Trend analysis - ensure no consistent drift
Combined
Combined: checks both noise (std dev) AND drift (slope) Both conditions must be satisfied for signal to be stable
Trait Implementations§
Source§impl Clone for SignalStabilityMethod
impl Clone for SignalStabilityMethod
Source§fn clone(&self) -> SignalStabilityMethod
fn clone(&self) -> SignalStabilityMethod
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 moreSource§impl Debug for SignalStabilityMethod
impl Debug for SignalStabilityMethod
Source§impl Default for SignalStabilityMethod
impl Default for SignalStabilityMethod
Source§impl<'de> Deserialize<'de> for SignalStabilityMethod
impl<'de> Deserialize<'de> for SignalStabilityMethod
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
Source§impl PartialEq for SignalStabilityMethod
impl PartialEq for SignalStabilityMethod
Source§impl Serialize for SignalStabilityMethod
impl Serialize for SignalStabilityMethod
impl StructuralPartialEq for SignalStabilityMethod
Auto Trait Implementations§
impl Freeze for SignalStabilityMethod
impl RefUnwindSafe for SignalStabilityMethod
impl Send for SignalStabilityMethod
impl Sync for SignalStabilityMethod
impl Unpin for SignalStabilityMethod
impl UnwindSafe for SignalStabilityMethod
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