Loading

mapper.ge


mapper
Since v1.0.0
Available on all platforms
See also

This mapper function returns the first value in a sliding window which is greater or equal to a given threshold.

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

The mapper.ge function can be applied to data of any type except BOOLEAN.

The mapper.ge function must be parameterized with the threshold.

Signature

Examples

NEWGTS 10 1 2 3 2.0 ADDVALUE 20 4 5 6 5.0 ADDVALUE 30 7 8 9 1.0 ADDVALUE [ SWAP 2.0 mapper.ge 0 0 0 ] MAP