FrameUnreliability
class optris_sdk.camera.FrameUnreliability(_enum.IntFlag)
Why a frame is not a measurement, one flag per reason.
The reasons behind Frame.thermal_data_reliable: that flag is
True exactly when Frame.unreliability is NONE. Several
reasons can hold at once, and every one that holds is set. Read them
to treat them differently, for example to show the temperatures of a
frame withheld only because the detector is still settling::
why = frame.unreliability
if why == FrameUnreliability.NONE:
show(frame)
elif why == FrameUnreliability.DETECTOR_SETTLING:
show_marked_as_settling(frame)
UNKNOWN is not a reason: the source cannot say which reasons
held, for example a recording or a still written by SDK 12.0.44 or
earlier. Frame.thermal_data_reliable is still the frame's
own answer then. A repeated frame carries the reasons of the frame
whose pixels it repeats as well as its own. Added in 12.0.45.