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
multiprocessing
oop_tools
binding
manage_attrs
oop_misc
os_tools
properties
pytools
sentinels
supercomputer
timing
trees
xarray_tools
plotting
defaults
errors
PlasmaCalcs
PlasmaCalcs API
tools
oop_tools
oop_misc
apply
View page source
apply
PlasmaCalcs.tools.oop_tools.oop_misc.
apply
(
x
,
fstr
,
*
args
,
**
kwargs
)
return x.fstr(*args, **kwargs), or x if x doesn’t have an ‘fstr’ attribute.