MockSps30Formatter¶
- class lsst.ts.ess.common.device.MockSps30Formatter¶
Bases:
MockFormatterMethods Summary
format_output([num_channels, ...])Create a formatted output of a sensor.
Methods Documentation
- format_output(num_channels: int = 0, disconnected_channel: int = -1, missed_channels: int = 0) list[str]¶
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.
- num_channels
- Returns:
listThe list of strings representing the formatted output of a sensor.