__update_object(self,
param_name,
target,
update_if_set,
depends,
category)
| source code
|
Function for updating the target object, its error, and the MC
simulations.
If the base name of the object is not within the 'update_if_set' list,
this function returns without doing anything (to avoid wasting time).
Dependant upon the category the object (target), its error
(target+'_err'), or all Monte Carlo simulations (target+'_sim') are
updated.
- Parameters:
param_name (str) - The parameter name which is being set in the __setattr__()
function.
target (str) - The name of the object to update.
update_if_set - If the parameter being set by the __setattr__() function is not
within this list of parameters, don't waste time updating the
target.
depends (array of str) - An array of names objects that the target is dependent upon.
category (str) - The category of the object to update (one of 'val', 'err', or
'sim').
- Returns:
- None
|