Struct signalo_filters::filter::classify::Peaks[][src]

pub struct Peaks<T, U> { /* fields omitted */ }

A peak detection filter.

Methods

impl<T, U> Peaks<T, U> where
    U: Clone
[src]

Creates a new Peaks filter with given threshold and outputs ([max, none, min]).

Trait Implementations

impl<T: Clone, U: Clone> Clone for Peaks<T, U>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug, U: Debug> Debug for Peaks<T, U>
[src]

Formats the value using the given formatter. Read more

impl<T, U> Stateful for Peaks<T, U>
[src]

The filter's internal state.

impl<T, U> StatefulUnsafe for Peaks<T, U>
[src]

Returns a mutable reference to the internal state of the filter.

Returns a mutable reference to the internal state of the filter.

impl<T, U> InitialState<()> for Peaks<T, U>
[src]

Returns the filter's initial state for a given parameter.

impl<T, U> Resettable for Peaks<T, U>
[src]

Resets the internal state of the filter.

impl<T, U> Filter<T> for Peaks<T, U> where
    T: Clone + PartialOrd<T>,
    U: Clone
[src]

The filter's output type.

Processes the input value, returning a corresponding output.

impl<U> Filter<Slope> for Peaks<Slope, U> where
    U: Clone
[src]

The filter's output type.

Processes the input value, returning a corresponding output.

Auto Trait Implementations

impl<T, U> Send for Peaks<T, U> where
    T: Send,
    U: Send

impl<T, U> Sync for Peaks<T, U> where
    T: Sync,
    U: Sync