CA Context ( antares.context.CAContext )¶
For predefined attributes for CA context, see here.
Antares context module.
-
class
antares.context.CAContext(container_id)¶ Bases:
antares.context.ContextRepresents a CA (Camera Alert) context object which is a sub-class of
Context. It contains all the properties defined under CA context.Param: container_id(int): ID of the object that contains the context, which will be a CameraAlert.Attributes Summary
nameName of CA context. camera_alertThis is the CameraAlert which contains this CAContext. Methods Summary
assembleVector(context, propname)The function assembles a vector of all the values of an property inside a context of the alert replicas of the camera alert. Attributes Documentation
-
name= 'CA'¶ Name of CA context.
Type: string
-
camera_alert= None¶ This is the CameraAlert which contains this CAContext.
Type: CameraAlert
Methods Documentation
-
assembleVector(context, propname)¶ The function assembles a vector of all the values of an property inside a context of the alert replicas of the camera alert.
Parameters: Returns: an array of values
Return type: numpy array
-