lerpLookup
Searches for the nearest value in source to the given query value. If query exactly matches a value in source, the corresponding value in target is returned. If not, the two nearest values in source are found, and linear interpolation is performed between the corresponding values in target.
Parameters
source
sorted list of source values
target
sorted list of target values
query
value to search for