MockHx85aFormatter#

class lsst.ts.ess.common.device.MockHx85aFormatter#

Bases: MockFormatter

Methods Summary

format_output([num_channels, ...])

Create a formatted output of a sensor.

Methods Documentation

format_output(num_channels=0, disconnected_channel=0, missed_channels=0)#

Create a formatted output of a sensor.

Parameters:
  • num_channels (int) – The number of channels of the sensor, or 0 if this doesn’t apply to the specific sensor type.

  • disconnected_channel (int) – The disconnected channel, or -1 if the test case doesn’t involve a disconnected channel.

  • missed_channels (int) – The missed channels, or 0 if the test case doesn’t involve missed channels.

Returns:

The list of strings representing the formatted output of a sensor.

Return type:

list