pub struct Wavelet {
pub decomp_low: &'static [f32],
pub decomp_high: &'static [f32],
pub recons_low: &'static [f32],
pub recons_high: &'static [f32],
}Expand description
Check wavelet to see all the wavelets provided.
Each filter of a single wavelet must be of equal length!
|<------------->|- window_size (N.coeffs)
↓ ↓
(A B C;D E;F G H)
↑ ↑ ↑
| |<--->|- half_padding_length
| |
|<->|------- *Sliding*!
Fields§
§decomp_low: &'static [f32]§decomp_high: &'static [f32]§recons_low: &'static [f32]§recons_high: &'static [f32]Implementations§
source§impl Wavelet
impl Wavelet
pub const fn window_size(&self) -> usize
pub const fn half_padding_length(&self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Wavelet
impl Send for Wavelet
impl Sync for Wavelet
impl Unpin for Wavelet
impl UnwindSafe for Wavelet
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