pub struct ComplexMexicanHat {
pub omega0: f64,
}Expand description
Complex Mexican Hat (Ricker) Wavelet
A complex version of the Mexican Hat wavelet, excellent for detecting singularities and discontinuities in financial data such as jumps, crashes, or sudden volatility changes.
Mathematical form: ψ(t) = (1 - t²) * exp(-t²/2) * exp(iω₀t)
Fields§
§omega0: f64Central frequency parameter
Implementations§
Source§impl ComplexMexicanHat
impl ComplexMexicanHat
Sourcepub fn for_jump_detection() -> Self
pub fn for_jump_detection() -> Self
Create version optimized for jump detection in financial data
Trait Implementations§
Source§impl Clone for ComplexMexicanHat
impl Clone for ComplexMexicanHat
Source§fn clone(&self) -> ComplexMexicanHat
fn clone(&self) -> ComplexMexicanHat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ContinuousWavelet for ComplexMexicanHat
impl ContinuousWavelet for ComplexMexicanHat
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
Source§impl Debug for ComplexMexicanHat
impl Debug for ComplexMexicanHat
Auto Trait Implementations§
impl Freeze for ComplexMexicanHat
impl RefUnwindSafe for ComplexMexicanHat
impl Send for ComplexMexicanHat
impl Sync for ComplexMexicanHat
impl Unpin for ComplexMexicanHat
impl UnwindSafe for ComplexMexicanHat
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