sourcefinder.utility.uncertain#
Classes#
Represents a numeric value with a known small uncertainty (error, |
Module Contents#
- class sourcefinder.utility.uncertain.Uncertain(value=0.0, error=0.0, *a, **t)[source]#
Bases:
objectRepresents a numeric value with a known small uncertainty (error, standard deviation…).
Numeric operators are overloaded to work with other Uncertain or numeric objects. The uncertainty (error) must be small. Otherwise the linearization employed here becomes wrong.