pub struct Morlet { /* private fields */ }Expand description
Morlet Wavelet
The Morlet wavelet is a complex exponential multiplied by a Gaussian window. It provides excellent time-frequency localization.
ψ(t) = π^(-1/4) * exp(iω₀t) * exp(-t²/2)
Implementations§
Trait Implementations§
Source§impl ContinuousWavelet for Morlet
impl ContinuousWavelet for Morlet
Source§fn wavelet_function(&self, t: f64, scale: f64) -> Complex<f64>
fn wavelet_function(&self, t: f64, scale: f64) -> Complex<f64>
Get the wavelet function value at position t for scale a
Source§fn center_frequency(&self) -> f64
fn center_frequency(&self) -> f64
Get the center frequency of the wavelet
Source§fn is_complex(&self) -> bool
fn is_complex(&self) -> bool
Check if the wavelet is complex-valued
Auto Trait Implementations§
impl Freeze for Morlet
impl RefUnwindSafe for Morlet
impl Send for Morlet
impl Sync for Morlet
impl Unpin for Morlet
impl UnwindSafe for Morlet
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