Hx85baSensor¶
- class lsst.ts.ess.common.sensor.Hx85baSensor(log: Logger, num_channels: int = 0)¶
Bases:
BaseSensor
Omega HX85BA Humidity Sensor.
Perform protocol conversion for a Omega HX85BA Humidity Sensor.
The HX85BA measure barometric pressure, in addition to relative humidity and air temperature. It then uses the Magnus formula to compute dew point.
- Parameters:
- log
logger
The logger for which to create a child logger.
- log
Attributes Summary
Methods Summary
extract_telemetry
(line)Extract the telemetry from a line of Sensor data.
Attributes Documentation
- charset = 'ISO-8859-1'¶
- delimiter = ','¶
- terminator = '\n\r'¶
Methods Documentation
- async extract_telemetry(line: str) list[float | int | str] ¶
Extract the telemetry from a line of Sensor data.
- Parameters:
- line
str
A line of comma separated telemetry.
- line
- Returns:
- output
list
A list of 3 floats containing the telemetry as measured by the sensor: the relative humidity, the temperature and the barometric pressure. If a value is missing because the connection to the sensor is established mid output, then the value gets replaced by np.nan.
- output