PlasmaCalcs.tools.array_select.select_all_before

PlasmaCalcs.tools.array_select.select_all_before(listlike, x)
returns listlike, sliced until the value closest to x, but not larger than x.