Loading

mapper.sqrt

mapper

This mapper function computes the square root of the single value in a sliding window.

For negative numerics, this mapper returns NaN. For string values, this mapper returns 0.

The associated location and elevation are those of the single value.

Note

The mapper.sqrt mapper needs a single value sliding window, i.e. pre-window and post-window to 0

mapper.sqrt is available since version 1.2.11.

See also

Signature

Examples

[ [ NEWGTS "GTS1" RENAME 10 NaN NaN NaN 25.0 ADDVALUE 20 NaN NaN NaN 42.0 ADDVALUE NEWGTS "GTS2" RENAME 10 NaN NaN NaN -1.0 ADDVALUE 20 NaN NaN NaN "warp10" ADDVALUE ] mapper.sqrt 0 0 0 ] MAP