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
sci_tools
sentinels
sql_tools
supercomputer
timing
trees
xarray_tools
plotting
defaults
errors
PlasmaCalcs
PlasmaCalcs API
tools
oop_tools
manage_attrs
maintain_attrs
View page source
maintain_attrs
PlasmaCalcs.tools.oop_tools.manage_attrs.
maintain_attrs
(
*
attrs
)
return decorator which restores attrs of obj after running function.
It is assumed that obj is the first arg of function.