Loading

mapper.vspeed


mapper
Since v1.0.11
Available on all platforms
See also

This mapper function computes the vertical speed between the first and last readings of the sliding window. It does not compute the speed based on the total vertical distance traveled in the sliding window, it only considers its extrema (it differs significantly of what is done for horizontal speed in mapper.hspeed), thus the result can be positive or negative.

If one of the extrema of the sliding window has no elevation, no value is returned.

The associated location and elevation are those at the tick being computed if it is part of the sliding window.

The computed speed is expressed in meters per second.

The mapper.vspeed function can be applied to data of any type since it only considers elevations.

Signature

Examples

[ [ NEWGTS "GTS1" RENAME 10 45.0 4.0 25000 5.0 ADDVALUE 20 50.0 5.0 25200 120.0 ADDVALUE NEWGTS "GTS2" RENAME 10 52.0 6.0 25200 8.0 ADDVALUE 20 54.0 7.0 26000 42.0 ADDVALUE ] mapper.vspeed 5 0 0 ] MAP