Class: Delta

Delta

Returns the simple derivative of successive value using simple linear regression. The current implementation assumes a fixed frameRate (frame.time is ignored)

Before the module is filled, it outputs a value of 0.

Constructor

new Delta(options)

Parameters:
Name Type Description
options Object

Override default parameters

Properties
Name Type Attributes Default Description
size Number <optional>
3

Size of the window

useFrameRate Number <optional>
null

Override stream frame rate for the regression

Source:

Methods

inputVector()

Assume a stream of vector at a fixed frameRate.

Source: