Property ( antares.model.property.Property )

class antares.model.property.Property(name, atype, context, datatype, scale, description='')

Bases: object

Represents 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 to
Param:datatype(string): data type of the property value
Param:scale(IntPair): the range to which the property value scales
Param:description(string): description of the property

Attributes Summary

vector The vector of all the past values computed for the property.
description A short description of the property.
name The name of the property.
context The context that the property belongs to.
datatype The data type of the property.
annotation Annotation for the most-recently computed value.
confidence Confidence 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