[−][src]Struct tdpsola::TdpsolaAnalysis
Implementations
impl TdpsolaAnalysis
[src]
pub fn new<W: AlternatingWindow>(window: &W) -> Self
[src]
Create a new TdpsolaAnalysis
.
The window
is used to initialise the TdpsolaAnalysis
and is assumed to be the first
window used when calling the push_sample
method.
pub fn push_sample<W: AlternatingWindow>(&mut self, sample: f32, window: &mut W)
[src]
Analyse a new sample.
Different structs, even of different types can be used in subsequent calls to this method.
It is assumed that the window changes fluidly between subsequent calls to push_sample
.
In order to avoid edge effects, it is advised to add one window of pre-padding.
Auto Trait Implementations
impl RefUnwindSafe for TdpsolaAnalysis
impl Send for TdpsolaAnalysis
impl Sync for TdpsolaAnalysis
impl Unpin for TdpsolaAnalysis
impl UnwindSafe for TdpsolaAnalysis
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,