pypif.obj.common.scalar module¶
-
class
pypif.obj.common.scalar.
Scalar
(value=None, minimum=None, inclusive_minimum=None, maximum=None, inclusive_maximum=None, uncertainty=None, approximate=None, tags=None, **kwargs)¶ Bases:
pypif.obj.common.pio.Pio
Representation of a single scalar value that could represent an absolute point, an uncertain point, a range of values, a minimum, or a maximum.
-
__init__
(value=None, minimum=None, inclusive_minimum=None, maximum=None, inclusive_maximum=None, uncertainty=None, approximate=None, tags=None, **kwargs)¶ Constructor.
Parameters: - value – String or number with the value for the point.
- minimum – String or number with the minimum value for the point.
- maximum – String or number with the maximum value for the point.
- inclusive_maximum – Boolean with whether the maximum is inclusive.
- uncertainty – String or number with the isotropic uncertainty for the point.
- approximate – Boolean with whether the value is approximate.
- tags – List of strings or numbers that are tags for this object.
- kwargs – Dictionary of fields that are not supported.
Apram inclusive_minimum: Boolean with whether the minimum is inclusive.
-
approximate
¶
-
inclusive_maximum
¶
-
inclusive_minimum
¶
-
maximum
¶
-
minimum
¶
-
static
normalize
(x)¶
-
uncertainty
¶
-
value
¶
-