pub struct WaveletTransform { /* private fields */ }Expand description
Main wavelet transform structure
Implementations§
Source§impl WaveletTransform
impl WaveletTransform
Sourcepub fn wavelet_type(self, wavelet_type: WaveletType) -> Self
pub fn wavelet_type(self, wavelet_type: WaveletType) -> Self
Set the wavelet type
Sourcepub fn boundary(self, boundary: WaveletBoundary) -> Self
pub fn boundary(self, boundary: WaveletBoundary) -> Self
Set the boundary condition
Sourcepub fn dwt(&self, signal: &Array1<f64>) -> WaveletResult<WaveletDecomposition>
pub fn dwt(&self, signal: &Array1<f64>) -> WaveletResult<WaveletDecomposition>
Perform discrete wavelet transform
Sourcepub fn idwt(
&self,
decomposition: &WaveletDecomposition,
) -> WaveletResult<Array1<f64>>
pub fn idwt( &self, decomposition: &WaveletDecomposition, ) -> WaveletResult<Array1<f64>>
Perform inverse discrete wavelet transform
Sourcepub fn extract_energy_features(
&self,
signal: &Array1<f64>,
) -> WaveletResult<Array1<f64>>
pub fn extract_energy_features( &self, signal: &Array1<f64>, ) -> WaveletResult<Array1<f64>>
Extract energy features from wavelet decomposition
Trait Implementations§
Source§impl Clone for WaveletTransform
impl Clone for WaveletTransform
Source§impl Debug for WaveletTransform
impl Debug for WaveletTransform
Auto Trait Implementations§
impl Freeze for WaveletTransform
impl RefUnwindSafe for WaveletTransform
impl Send for WaveletTransform
impl Sync for WaveletTransform
impl Unpin for WaveletTransform
impl UnsafeUnpin for WaveletTransform
impl UnwindSafe for WaveletTransform
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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