ContinuousWavelet

Trait ContinuousWavelet 

pub trait ContinuousWavelet: Send + Sync {
    // 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 methods
    fn supports_frequency_domain(&self) -> bool { ... }
    fn wavelet_function_includes_l2_norm(&self) -> bool { ... }
    fn admissibility_constant(&self) -> f64 { ... }
    fn sst_inversion_constant(&self) -> Complex<f64> { ... }
    fn wavelet_fft(
        &self,
        _buffer: &mut [FftComplex<f64>],
        _scale: f64,
        _fft_size: usize,
    ) { ... }
    fn recommended_scales(
        &self,
        signal_length: usize,
        sampling_freq: f64,
    ) -> Vec<f64> { ... }
}

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 Methods§

fn supports_frequency_domain(&self) -> bool

fn wavelet_function_includes_l2_norm(&self) -> bool

fn admissibility_constant(&self) -> f64

fn sst_inversion_constant(&self) -> Complex<f64>

fn wavelet_fft( &self, _buffer: &mut [FftComplex<f64>], _scale: f64, _fft_size: usize, )

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

Implementors§