pub enum Stop {
Rilling {
sd: f64,
sd2: f64,
tol: f64,
},
SNumber {
count: usize,
},
Fixed {
siftings: usize,
},
}Expand description
When sifting one mode stops.
Variants§
Rilling
Rilling, Flandrin and Gonçalvès (2003): with σ = |envelope mean| / mode amplitude, stop
once σ < sd on all but a fraction tol of samples and σ < sd2 everywhere.
SNumber
Huang et al. (2003) S-number: stop after count consecutive siftings in which the
extrema and zero crossings differ by at most one (memd.m fix_h).
Fixed
A fixed number of siftings per mode (Wu and Huang 2009).
Implementations§
Source§impl Stop
impl Stop
Sourcepub const RILLING_EMD: Self
pub const RILLING_EMD: Self
emd.m’s default.
Sourcepub const RILLING_MEMD: Self
pub const RILLING_MEMD: Self
memd.m’s default.
Trait Implementations§
impl Copy for Stop
impl StructuralPartialEq for Stop
Auto Trait Implementations§
impl Freeze for Stop
impl RefUnwindSafe for Stop
impl Send for Stop
impl Sync for Stop
impl Unpin for Stop
impl UnwindSafe for Stop
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more