Properties
deviation
deviation: number
movingAverage
movingAverage: number
Private
Optional
previousTime
previousTime?: number
Private
Readonly
timespan
timespan: number
Methods
alpha
- alpha(t, pt): number
Returns number
push
- push(value, time?): void
Parameters
- value: number
- time: number = ...
Returns void
Implements exponential moving average. Ported from
moving-average
.See