Trait DetectOutliers

Source
pub trait DetectOutliers<T> {
    // Required methods
    fn detect_outliers(&mut self, lowest_rr: &T, highest_rr: &T);
    fn detect_ectopics(&mut self, method: EctopicMethod);
}
Expand description

Trait for detecting outliers and ectopics in RR intervals.

This trait allows custom implementations of methods for detecting outliers and ectopic beats in RR intervals. Any type that implements this trait can provide different detection methods based on specific requirements.

Required Methods§

Source

fn detect_outliers(&mut self, lowest_rr: &T, highest_rr: &T)

Source

fn detect_ectopics(&mut self, method: EctopicMethod)

Implementors§

Source§

impl<T: Float + Sum<T> + Copy + Debug + Signed + 'static + FromPrimitive> DetectOutliers<T> for RRIntervals<T>