Wavelet

Trait Wavelet 

Source
pub trait Wavelet:
    Send
    + Sync
    + Any {
    // Required methods
    fn as_any(&self) -> &dyn Any;
    fn name(&self) -> &str;
    fn vanishing_moments(&self) -> usize;
    fn support_width(&self) -> usize;
    fn low_pass_decomposition(&self) -> &[f64];
    fn high_pass_decomposition(&self) -> &[f64];
    fn low_pass_reconstruction(&self) -> &[f64];
    fn high_pass_reconstruction(&self) -> &[f64];
    fn is_orthogonal(&self) -> bool;
    fn is_biorthogonal(&self) -> bool;
}
Expand description

Trait defining the interface for all wavelets

Required Methods§

Source

fn as_any(&self) -> &dyn Any

Allow downcasting to concrete types

Source

fn name(&self) -> &str

Get the name of the wavelet

Source

fn vanishing_moments(&self) -> usize

Get the number of vanishing moments

Source

fn support_width(&self) -> usize

Get the support width (filter length)

Source

fn low_pass_decomposition(&self) -> &[f64]

Get the low-pass decomposition filter coefficients

Source

fn high_pass_decomposition(&self) -> &[f64]

Get the high-pass decomposition filter coefficients

Source

fn low_pass_reconstruction(&self) -> &[f64]

Get the low-pass reconstruction filter coefficients

Source

fn high_pass_reconstruction(&self) -> &[f64]

Get the high-pass reconstruction filter coefficients

Source

fn is_orthogonal(&self) -> bool

Check if the wavelet is orthogonal

Source

fn is_biorthogonal(&self) -> bool

Check if the wavelet is biorthogonal

Implementors§