Class: Intensity

Intensity

Compute the intensity of the accelerometers.

input: an array of numbers of size 1 to 3 ([x], [x, y] or [x, y, z]). output: [normIntensity, xIntensity, yIntensity, zIntensity]

Constructor

new Intensity(optionsopt)

Parameters:
Name Type Attributes Description
options Object <optional>

Override default options.

Properties
Name Type Attributes Default Description
feedback Number <optional>
0.7

Feedback coefficient.

gain Number <optional>
0.07

Post gain coefficient.

Source: