select_before

PlasmaCalcs.tools.array_select.select_before(listlike, x)

returns the value closest to x, but not larger than x.

If x iterable, [select_before(y) for y in x]