pub struct WaveletScale {
pub scale: f64,
pub filter: ChebyshevExpansion,
}Expand description
Wavelet scale configuration
Fields§
§scale: f64Scale parameter (larger = coarser)
filter: ChebyshevExpansionChebyshev expansion for this scale
Implementations§
Source§impl WaveletScale
impl WaveletScale
Sourcepub fn mexican_hat(scale: f64, degree: usize) -> Self
pub fn mexican_hat(scale: f64, degree: usize) -> Self
Create wavelet at given scale using Mexican hat kernel g(λ) = λ * exp(-λ * scale)
Sourcepub fn heat_derivative(scale: f64, degree: usize) -> Self
pub fn heat_derivative(scale: f64, degree: usize) -> Self
Create wavelet using heat kernel derivative g(λ) = λ * exp(-λ * scale) (same as Mexican hat)
Sourcepub fn scaling_function(scale: f64, degree: usize) -> Self
pub fn scaling_function(scale: f64, degree: usize) -> Self
Create scaling function (low-pass for residual) h(λ) = exp(-λ * scale)
Trait Implementations§
Source§impl Clone for WaveletScale
impl Clone for WaveletScale
Source§fn clone(&self) -> WaveletScale
fn clone(&self) -> WaveletScale
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WaveletScale
impl RefUnwindSafe for WaveletScale
impl Send for WaveletScale
impl Sync for WaveletScale
impl Unpin for WaveletScale
impl UnwindSafe for WaveletScale
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more