Loading

mapper.lt.elev

mapper

This mapper function returns the first elevation in a sliding window which is less than a given threshold.

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

The mapper.lt.elev function must be parameterized with the threshold.

mapper.lt.elev is available since version 2.2.0.

See also

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 6 mapper.lt.elev 0 0 0 ] MAP