csep.utils.calc.nearest_index

csep.utils.calc.nearest_index(array, value)[source]

Returns the index from array that is less than the value specified.