finesse.utilities.misc.find_nearest

finesse.utilities.misc.find_nearest(x, value, index=False)[source]