LA Context ( antares.context.LAContext )

Antares context module.

class antares.context.LAContext

Bases: antares.context.Context

Represents a LA (Locus-aggregated Alert) context object which is a sub-class of Context. It contains all the properties defined under LA context.

Param:container_id(int): ID of the object (the Alert) that contains the context. WHAT IS THE CONTAINER?

Attributes Summary

name Name of LA context (‘LA’).

Methods Summary

assembleTimeSeriesProperty(context, ...) The function assembles a time series of all the past values of an property inside a context of the camera alerts associated with a locus aggregated alert.

Attributes Documentation

name = 'LA'

Name of LA context (‘LA’).

Type:string

Methods Documentation

assembleTimeSeriesProperty(context, propname, start_time, end_time)

The function assembles a time series of all the past values of an property inside a context of the camera alerts associated with a locus aggregated alert. Time series may be generated from CA, IM, IR, and IS contexts.

Parameters:context (string) – the name of the context; valid contexts for this method include the CA, IM, IR,

and IS contexts. :param string propname: the name of the property

Returns:a time series of values.
Return type:pandas.TimeSeries of (uncertainFloat, string)