pub struct ModwtMra { /* private fields */ }Expand description
MODWT multiresolution analysis (Percival and Walden 2000): details D_1..D_J and the smooth S_J of each channel, additive and shift-invariant. Mode 0 is S_J and the last mode D_1. The same filter bank is used for every channel, so modes are aligned across channels.
Implementations§
Source§impl ModwtMra
impl ModwtMra
pub fn new( wavelet: &str, levels: Option<usize>, boundary: Boundary, ) -> Result<Self, MethodError>
Sourcepub fn default_levels(&self, n: usize) -> usize
pub fn default_levels(&self, n: usize) -> usize
The deepest level whose equivalent filter, (2^J − 1)(L − 1) + 1 long, fits in n
samples (Percival and Walden 2000), and at least 1.
pub fn wavelet(&self) -> &str
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModwtMra
impl RefUnwindSafe for ModwtMra
impl Send for ModwtMra
impl Sync for ModwtMra
impl Unpin for ModwtMra
impl UnwindSafe for ModwtMra
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,
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