pub struct ComplexPaul {
pub order: u32,
}Expand description
Complex Paul Wavelet
The Paul wavelet is particularly good for detecting oscillatory patterns and modulated signals in financial time series. It has asymmetric time localization properties.
Mathematical form: ψ(t) = 2^m * i^m * m! / (π * (m + 1/2)!) * (1 - it)^(-m-1)
Fields§
§order: u32Order parameter (m)
Implementations§
Source§impl ComplexPaul
impl ComplexPaul
Sourcepub fn for_oscillations() -> Self
pub fn for_oscillations() -> Self
Create version optimized for oscillation detection
Trait Implementations§
Source§impl Clone for ComplexPaul
impl Clone for ComplexPaul
Source§fn clone(&self) -> ComplexPaul
fn clone(&self) -> ComplexPaul
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 ComplexPaul
impl ContinuousWavelet for ComplexPaul
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 ComplexPaul
impl Debug for ComplexPaul
Auto Trait Implementations§
impl Freeze for ComplexPaul
impl RefUnwindSafe for ComplexPaul
impl Send for ComplexPaul
impl Sync for ComplexPaul
impl Unpin for ComplexPaul
impl UnwindSafe for ComplexPaul
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