mpacts.core.units. measurement

copyright:2016 by Pint Authors, see AUTHORS for more details.
license:BSD, see LICENSE for more details.

In order to be able to use this module import it like this:

import mpacts.core.units.measurement
#or assign it to a shorter name
import mpacts.core.units.measurement as mea

_Measurement

class mpacts.core.units.measurement._Measurement

Bases: object

Implements a class to describe a quantity with uncertainty.

Parameters:
  • value (Quantity or Number) – The most likely value of the measurement.
  • error (Quantity or Number) – The error or uncertainty of the measurement.
_Measurement(name, parent, **kwargs)
error
rel
value
mpacts.core.units.measurement.build_measurement_class(registry, force_ndarray=False)