pub struct Correlogram { /* private fields */ }Expand description
Running autocorrelation matrix: each row is the autocorrelation of a frame.
Implementations§
Source§impl Correlogram
impl Correlogram
pub fn new(max_lag: usize) -> Self
Sourcepub fn push_frame(&mut self, frame: &[f32])
pub fn push_frame(&mut self, frame: &[f32])
Push a signal frame and compute its autocorrelation.
Sourcepub fn num_frames(&self) -> usize
pub fn num_frames(&self) -> usize
Number of frames.
Auto Trait Implementations§
impl Freeze for Correlogram
impl RefUnwindSafe for Correlogram
impl Send for Correlogram
impl Sync for Correlogram
impl Unpin for Correlogram
impl UnsafeUnpin for Correlogram
impl UnwindSafe for Correlogram
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