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§
Sourcefn vanishing_moments(&self) -> usize
fn vanishing_moments(&self) -> usize
Get the number of vanishing moments
Sourcefn support_width(&self) -> usize
fn support_width(&self) -> usize
Get the support width (filter length)
Sourcefn low_pass_decomposition(&self) -> &[f64]
fn low_pass_decomposition(&self) -> &[f64]
Get the low-pass decomposition filter coefficients
Sourcefn high_pass_decomposition(&self) -> &[f64]
fn high_pass_decomposition(&self) -> &[f64]
Get the high-pass decomposition filter coefficients
Sourcefn low_pass_reconstruction(&self) -> &[f64]
fn low_pass_reconstruction(&self) -> &[f64]
Get the low-pass reconstruction filter coefficients
Sourcefn high_pass_reconstruction(&self) -> &[f64]
fn high_pass_reconstruction(&self) -> &[f64]
Get the high-pass reconstruction filter coefficients
Sourcefn is_orthogonal(&self) -> bool
fn is_orthogonal(&self) -> bool
Check if the wavelet is orthogonal
Sourcefn is_biorthogonal(&self) -> bool
fn is_biorthogonal(&self) -> bool
Check if the wavelet is biorthogonal