PlasmaCalcs
Usage
PlasmaCalcs API
plasma_calculator
quantities
dimensions
units
hookups
addons
other_calculators
mhd
multi_run_analysis
tools
array_select
select_after
select_all_after
select_all_before
select_before
select_between
select_closest
select_i_after
select_i_before
select_i_between
select_i_closest
ArraySelectable
ArraySelectableChildHaver
arrays
display
docs_tools
fft_tools
history
imports
io_tools
iterables
math
multiprocessing
oop_tools
os_tools
properties
pytools
sci_tools
sentinels
sql_tools
supercomputer
timing
trees
xarray_tools
plotting
defaults
errors
PlasmaCalcs
PlasmaCalcs API
tools
array_select
select_before
View page source
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]