PlasmaCalcs
Usage
PlasmaCalcs API
plasma_calculator
quantities
dimensions
units
hookups
addons
other_calculators
mhd
multi_run_analysis
tools
array_select
arrays
display
docs_tools
fft_tools
history
imports
io_tools
iterables
math
_ast_math_eval_node
as_roman_numeral
ast_math_eval
float_rounding
from_roman_numeral
is_integer
nonempty_product
np_all_int
product
round_to_int
multiprocessing
oop_tools
os_tools
properties
pytools
sentinels
supercomputer
timing
trees
xarray_tools
plotting
defaults
errors
PlasmaCalcs
PlasmaCalcs API
tools
math
np_all_int
View page source
np_all_int
PlasmaCalcs.tools.math.
np_all_int
(
x
)
returns whether all values in x are integer-valued. (regardless of x’s type).
Equivalent: np.all(np.mod(x, 1) == 0)