API Reference
fastlowess / OnlineLowess
Class: OnlineLowess
Section titled “Class: OnlineLowess”Defined in: index.d.ts:61
Online LOWESS smoother for real-time data.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new OnlineLowess(
options?,onlineOpts?):OnlineLowess
Defined in: index.d.ts:63
Create a new online LOWESS smoother.
Parameters
Section titled “Parameters”options?
Section titled “options?”OnlineSmoothOptions | null
onlineOpts?
Section titled “onlineOpts?”OnlineOptions | null
Returns
Section titled “Returns”OnlineLowess
Methods
Section titled “Methods”add_point()
Section titled “add_point()”add_point(
x,y):OnlineOutput|null
Defined in: index.d.ts:65
Add a single point and get the smoothed value if enough points are available.
Parameters
Section titled “Parameters”number
number
Returns
Section titled “Returns”OnlineOutput | null