API Reference
fastlowess-wasm / OnlineLowess
Class: OnlineLowess
Section titled “Class: OnlineLowess”Defined in: fastlowess_wasm.d.ts:87
Online LOWESS smoother for real-time data.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new OnlineLowess(
options?,onlineOpts?):OnlineLowess
Defined in: fastlowess_wasm.d.ts:89
Parameters
Section titled “Parameters”options?
Section titled “options?”onlineOpts?
Section titled “onlineOpts?”Returns
Section titled “Returns”OnlineLowess
Methods
Section titled “Methods”add_point()
Section titled “add_point()”add_point(
x,y):OnlineOutput|null
Defined in: fastlowess_wasm.d.ts:91
Add a single point and get the smoothed output (or null if not enough points yet).
Parameters
Section titled “Parameters”number
number
Returns
Section titled “Returns”OnlineOutput | null
free()
Section titled “free()”free():
void
Defined in: fastlowess_wasm.d.ts:88
Returns
Section titled “Returns”void