Often the multiplier or threshold functions cannot yield a workable output value range. For example, when working with incoming numbers which are very large or have an offset value built in, but have a small range such as lat-lon geolocation data of an object moving within a small area. In this case it is valuable to be able to remap the incoming data to a more workable range. The output mapping function provides this capability.
Step-by-Step: Remap incoming values
- Set Input Threshold Type to Absolute.
- Set the Input Threshold Min and Max to the expected min and max input values. Any incoming values outside this range will be ignored so it’s important to know,. where possible, what the incoming range will be.
- Set Threshold Overflow Behaviour to Snap to Nearest Extents to ensure if any incoming value are outside the expected range they are handled gracefully.
- Set Output Mapping Type to Direct Mapping.
- Set the Output Range Min and Max to the desired output range.
data range: 100-110
desired output range: 0-1
input min: 100
input max 110
output min: 0
output max: 1