add_missing_telemetry¶
- lsst.ts.ess.common.sensor.add_missing_telemetry(telemetry: list[float | int | str], expected_length: int) list[float | int | str] ¶
Prepend a telemetry list with NaN values to make sure that it has the expected length.
- Parameters:
- Returns:
list
The telemetry list or, if the length of the telemetry list is shorter then the expected length, the telemetry list with NaN values prepended such that the length matches the expected length.