Loading

mapper.log


mapper
Since v1.0.0
Available on all platforms
See also

This mapper function takes the log of the single value in a sliding window in the base used as parameter to mapper.log.

If the sliding window is empty, the function does not return any value. If the sliding window contains more than a single value, an error is produced.

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

The mapper.log function can be applied to data of type LONG or DOUBLE.

The mapper.log function must be parameterized with the constant.

The result is always of type DOUBLE.

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

Signature

Examples

[ NEWGTS 10 NaN NaN NaN 1.0 ADDVALUE 20 NaN NaN NaN 10.0 ADDVALUE 10.0 mapper.log 0 0 0 ] MAP