Property ( antares.model.property.Property )¶
-
class
antares.model.property.Property(name, atype, context, datatype, scale, description='')¶ Bases:
objectRepresents a property object. A property is initialized with its name, the context it belongs to, the datatype of its value, a description and the scale of its value.
Param: name(string): name of the property Param: context( antares.context.Context): context the property belongs toParam: datatype(string): data type of the property value Param: scale( IntPair): the range to which the property value scalesParam: description(string): description of the property Attributes Summary
vectorThe vector of all the past values computed for the property. descriptionA short description of the property. nameThe name of the property. contextThe context that the property belongs to. datatypeThe data type of the property. annotationAnnotation for the most-recently computed value. confidenceConfidence for the most-recently computed value. Methods Summary
Attributes Documentation
-
vector= None¶ The vector of all the past values computed for the property. It is a Numpy array.
Type: numpy array
-
description= ''¶ A short description of the property.
Type: string
-
name= ''¶ The name of the property.
Type: string
-
context= ''¶ The context that the property belongs to.
Type: string
-
datatype= ''¶ The data type of the property. The valid data type could be either a Python’s built-in type (boolean, int, float, string, timestamp) or a composite object (UncertainFloat, ProbabilityCurve, IntPair, FloatPair, TimePeriod).
Type: string
-
annotation¶ Annotation for the most-recently computed value.
Type: string
-
confidence¶ Confidence for the most-recently computed value.
Type: float
Methods Documentation
-