StreamingMODWT

Struct StreamingMODWT 

pub struct StreamingMODWT<T: SignalType> {
    pub max_levels: usize,
    /* private fields */
}

Fields§

§max_levels: usize

Implementations§

§

impl<T: SignalType + 'static> StreamingMODWT<T>

pub fn new( wavelet: Box<dyn Wavelet>, window: WindowConfig, max_levels: usize, ) -> Self

pub fn try_new( wavelet: Box<dyn Wavelet>, window: WindowConfig, max_levels: usize, ) -> Result<Self>

pub fn update(&mut self, tick: T) -> Result<Option<StreamingMODWTResult<T>>>

pub fn wavelet_history(&self, level: usize) -> Option<&VecDeque<T>>

pub fn scaling_history(&self) -> &VecDeque<T>

pub fn latest_wavelets(&self) -> Vec<T>

pub fn latest_scaling(&self) -> T

pub fn tick_count(&self) -> u64

pub fn is_ready(&self) -> bool

pub fn required_warmup_samples(&self) -> u64

pub fn last_update_failed(&self) -> bool

pub fn clear(&mut self)

pub fn wavelet(&self) -> &dyn Wavelet

Trait Implementations§

§

impl IncrementalTransform for StreamingMODWT<f64>

§

type Output = StreamingMODWTResult<f64>

§

fn push(&mut self, sample: f64) -> bool

§

fn current(&self) -> Option<Self::Output>

§

fn is_ready(&self) -> bool

§

fn samples_processed(&self) -> u64

§

fn reset(&mut self)

§

impl WindowedCoefficients for StreamingMODWT<f64>

§

type Window<'a> = StreamingMODWTWindow<'a>

§

fn coefficients_window(&self) -> Self::Window<'_>

Auto Trait Implementations§

§

impl<T> Freeze for StreamingMODWT<T>

§

impl<T> !RefUnwindSafe for StreamingMODWT<T>

§

impl<T> Send for StreamingMODWT<T>

§

impl<T> Sync for StreamingMODWT<T>

§

impl<T> Unpin for StreamingMODWT<T>
where T: Unpin,

§

impl<T> !UnwindSafe for StreamingMODWT<T>

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

§

impl<T> From<T> for T

§

fn from(t: T) -> T

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

§

impl<T> IntoEither for T

§

fn into_either(self, into_left: bool) -> Either<Self, Self>

§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

§

impl<T> Pointable for T

§

const ALIGN: usize

§

type Init = T

§

unsafe fn init(init: <T as Pointable>::Init) -> usize

§

unsafe fn deref<'a>(ptr: usize) -> &'a T

§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

§

unsafe fn drop(ptr: usize)

§

impl<T> Same for T

§

type Output = T

§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

§

fn to_subset(&self) -> Option<SS>

§

fn is_in_subset(&self) -> bool

§

fn to_subset_unchecked(&self) -> SS

§

fn from_subset(element: &SS) -> SP

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,