TelemetryStreamHandler¶
- class lsst.ts.scheduler.telemetry_stream_handler.TelemetryStreamHandler(log, efd_name)¶
Bases:
object
Handle telemetry stream.
- Parameters:
log (
logging.Logger
) – Logger class.efd_name (
str
) – Name of the efd instance to query telemetry from.
Attributes Summary
Methods Summary
configure_telemetry_stream
(telemetry_stream)Configure telemetry streams.
get_fill_values_for
(stream_name)Return list of fill values for telemetry stream.
retrieve_telemetry
(stream_name)Retrieve telemetry for a given stream.
Attributes Documentation
- telemetry_stream_schema¶
Methods Documentation
- async configure_telemetry_stream(telemetry_stream)¶
Configure telemetry streams.
- get_fill_values_for(stream_name)¶
Return list of fill values for telemetry stream.
- async retrieve_telemetry(stream_name)¶
Retrieve telemetry for a given stream.
- Parameters:
stream_name (
str
) – Name of the telemetry stream to retrieve data from.- Returns:
telemetry_values – Telemetry value, one for each entry in
telemetry_streams[stream_name]["efd_columns"]
.- Return type:
- Raises:
RuntimeError: – If
stream_name
is not in the list of configured streams.