-
Notifications
You must be signed in to change notification settings - Fork 5
Description
The main idea of the Uncertain class is to provide for error propagation in derived quantities, i.e. if the
As far as I can tell, we do not use that feature in any way in PySE.
Therefore, it seems that this class is an overkill.
Also see the post from the original author and the comment below: the uncertainties module would probably outperform the Uncertain class.
But again, within PySE, there seems to be no use for these features, except for having both value and error attributes, e.g. self["peak"].value" and "self["peak"].error where self is a ParamSet instantiation.
@suvayu Please let me know how you would replace the Uncertain class. Would a plain dict suffice? I am not sure about the value and error attributes, though.