ContinuousWavelet

Trait ContinuousWavelet 

Source
pub trait ContinuousWavelet {
    // Required methods
    fn wavelet_function(&self, t: f64, scale: f64) -> Complex<f64>;
    fn center_frequency(&self) -> f64;
    fn bandwidth(&self) -> f64;
    fn is_complex(&self) -> bool;

    // Provided method
    fn recommended_scales(
        &self,
        signal_length: usize,
        sampling_freq: f64,
    ) -> Vec<f64> { ... }
}
Expand description

Trait for continuous wavelets

Required Methods§

Source

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

Get the center frequency of the wavelet

Source

fn bandwidth(&self) -> f64

Get the bandwidth parameter

Source

fn is_complex(&self) -> bool

Check if the wavelet is complex-valued

Provided Methods§

Source

fn recommended_scales( &self, signal_length: usize, sampling_freq: f64, ) -> Vec<f64>

Get recommended scale range for a given signal length and sampling frequency

Implementors§