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§
Sourcefn 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
Sourcefn center_frequency(&self) -> f64
fn center_frequency(&self) -> f64
Get the center frequency of the wavelet
Sourcefn is_complex(&self) -> bool
fn is_complex(&self) -> bool
Check if the wavelet is complex-valued