pub fn new<W: AlternatingWindow>(window: &W) -> Self[src]
Create a new
window is used to initialise the
TdpsolaAnalysis and is assumed to be the first
window used when calling the
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
In order to avoid edge effects, it is advised to add one window of pre-padding.
impl RefUnwindSafe for TdpsolaAnalysis
impl Send for TdpsolaAnalysis
impl Sync for TdpsolaAnalysis
impl Unpin for TdpsolaAnalysis
impl UnwindSafe for TdpsolaAnalysis
type Error = Infallible
The type returned in the event of a conversion error.