pub enum ScaleType {
Log,
Linear,
}Expand description
Specifies how the wavelet scales are distributed in a Continuous Wavelet Transform (CWT).
The choice of ScaleType affects the time–frequency resolution of the transform
and how the nv parameter in CwtOptions is interpreted.
Variants§
Log
Logarithmic spacing (Geometric): Scales are spaced by powers of two (octaves).
This is the standard choice for multi-resolution analysis, providing better frequency
resolution at lower frequencies. The nv parameter represents the voices per octave.
Linear
Linear spacing (Uniform): Scales are spaced with a constant step size.
This is typically used for narrowband analysis where a uniform resolution in the
scale parameter is desired. The nv parameter represents the total number of scales.
Trait Implementations§
Source§impl Ord for ScaleType
impl Ord for ScaleType
Source§impl PartialOrd for ScaleType
impl PartialOrd for ScaleType
impl Copy for ScaleType
impl Eq for ScaleType
impl StructuralPartialEq for ScaleType
Auto Trait Implementations§
impl Freeze for ScaleType
impl RefUnwindSafe for ScaleType
impl Send for ScaleType
impl Sync for ScaleType
impl Unpin for ScaleType
impl UnsafeUnpin for ScaleType
impl UnwindSafe for ScaleType
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