Loading

mapper.var

mapper

This mapper function returns the variance of all the values found in each sliding window. The location and elevation returned are those associated with the most recent value in the sliding window.

If the number of values in the sliding window is greater than one, Bessel’s correction is applied. The mapper.var function can only be applied to values of type LONG or DOUBLE, when applied to STRING or BOOLEAN it does not return any value.

mapper.var is available since version 1.0.11.

See also

Signatures

Examples

[ [ NEWGTS "GTS1" RENAME 10 NaN NaN NaN 5.0 ADDVALUE 20 NaN NaN NaN 120.0 ADDVALUE NEWGTS "GTS2" RENAME 10 NaN NaN NaN 8.0 ADDVALUE 20 NaN NaN NaN 42.0 ADDVALUE ] true mapper.var 5 5 0 ] MAP