Hx85baSensor#
- class lsst.ts.ess.common.sensor.Hx85baSensor(log, num_channels=0)#
Bases:
BaseSensorOmega 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.num_channels (
int, default:0)
Attributes Summary
Methods Summary
extract_telemetry(line)Extract the telemetry from a line of Sensor data.
Attributes Documentation
- charset = 'ISO-8859-1'#
- terminator = '\n\r'#
Methods Documentation
- async extract_telemetry(line)#
Extract the telemetry from a line of Sensor data.
- Parameters:
line (
str) – A line of comma separated telemetry.- Returns:
output – 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.
- Return type: