Trait signalo_filters::prelude::Filter [−][src]
Filters accept values of a signal, and produce transformed values. Furthermore, the result of concatenating all the output data is the same as the result of applying the filter over the concatenation of the input data.
Associated Types
type Output
The filter's output type.
Required Methods
fn filter(&mut self, input: Input) -> Self::Output
Processes the input value, returning a corresponding output.
Implementors
impl<T> Filter<T> for Differentiate<T> where
T: Copy + Sub<T, Output = T> + Zero, type Output = <T as Sub<T>>::Output;impl<T> Filter<T> for Identity type Output = T;
impl<T, U> Filter<T> for Debounce<T, U> where
T: Copy + PartialEq<T>,
U: Copy, type Output = U;impl<T, U> Filter<T> for Schmitt<T, U> where
T: PartialOrd<T>,
U: Clone, type Output = U;impl<T, U> Filter<T> for Threshold<T, U> where
T: PartialOrd<T>,
U: Clone, type Output = U;impl<T, U> Filter<T> for Peaks<T, U> where
T: Clone + PartialOrd<T>,
U: Clone, type Output = U;impl<U> Filter<Slope> for Peaks<Slope, U> where
U: Clone, type Output = U;impl<T, U> Filter<T> for Slopes<T, U> where
T: Clone + PartialOrd<T>,
U: Clone, type Output = U;impl<T, A> Filter<T> for Convolve<A> where
T: Copy + Num,
A: Array<Item = T>, type Output = T;impl<N> Filter<f32> for Hampel<f32, N> where
N: ArrayLength<ListNode<f32>>, type Output = f32;impl<N> Filter<f64> for Hampel<f64, N> where
N: ArrayLength<ListNode<f64>>, type Output = f64;impl<T> Filter<T> for signalo_filters::filter::mean::exp::Mean<T> where
T: Copy + Num, type Output = T;impl<T> Filter<T> for signalo_filters::filter::mean::exp::MeanVariance<T> where
T: Copy + Num + Signed, type Output = (T, T);impl<T, A> Filter<T> for signalo_filters::filter::mean::Mean<A> where
T: Copy + Num,
A: Array<Item = T>, type Output = T;impl<T, A> Filter<T> for signalo_filters::filter::mean::MeanVariance<A> where
T: Copy + Num + Signed + PartialOrd + Debug,
A: Array<Item = T> + Debug, type Output = (T, T);impl<T> Filter<T> for signalo_filters::filter::median::exp::Median<T> where
T: Copy + Num, type Output = T;impl<T, N> Filter<T> for signalo_filters::filter::median::Median<T, N> where
T: Clone + PartialOrd,
N: ArrayLength<ListNode<T>>, type Output = T;impl<T> Filter<T> for AlphaBeta<T> where
T: Copy + Num, type Output = T;impl<T> Filter<T> for Kalman<T> where
T: Copy + Num, type Output = T;impl<T> Filter<(T, T)> for Kalman<T> where
T: Copy + Num, type Output = T;impl<T, U> Filter<(T, U)> for Add where
T: Copy + StdAdd<U>, type Output = <T as StdAdd<U>>::Output;impl<T, U> Filter<(T, U)> for Div where
T: Copy + StdDiv<U>, type Output = <T as StdDiv<U>>::Output;impl<T, U> Filter<(T, U)> for Mul where
T: Copy + StdMul<U>, type Output = <T as StdMul<U>>::Output;impl<T, U> Filter<(T, U)> for Sub where
T: Copy + StdSub<U>, type Output = <T as StdSub<U>>::Output;impl<T> Filter<T> for Square where
T: Copy + Mul<T>, type Output = <T as Mul<T>>::Output;impl<F, T, U> Filter<T> for F where
F: FnMut(T) -> U, type Output = U;