struct Despiker {
w: usize,
xs: Vec<f64>,
es: Vec<f64>,
count: usize,
emitted: usize,
}Expand description
Streaming grey opening over w samples: output j is the largest of the minima of
the w-sample windows containing j, windows cut at the segment’s ends and NaN
left out. Emitted once input j + w - 1 has arrived, or by Self::flush.
Fields§
§w: usize§xs: Vec<f64>§es: Vec<f64>§count: usize§emitted: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Despiker
impl RefUnwindSafe for Despiker
impl Send for Despiker
impl Sync for Despiker
impl Unpin for Despiker
impl UnsafeUnpin for Despiker
impl UnwindSafe for Despiker
Blanket Implementations§
impl<T> Allocation for T
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