Ld250Sensor

class lsst.ts.ess.common.sensor.Ld250Sensor(log: Logger, num_channels: int = 0)

Bases: BaseSensor

Boltek LD-250 Lightning Detector.

Perform protocol conversion for the Boltek LD-250 Lightning Detector.

Parameters:
loglogger

The logger for which to create a child logger.

Attributes Summary

charset

delimiter

terminator

Methods Summary

extract_telemetry(line)

Extract the telemetry from a line of Sensor data.

Attributes Documentation

charset = 'ASCII'
delimiter = ','
terminator = '\r\n'

Methods Documentation

async extract_telemetry(line: str) list[float | int | str]

Extract the telemetry from a line of Sensor data.

Returns:
outputlist

A list containing the telemetry as measured by the specific type of sensor. The length of the output list is the same as the number of channels.