FrameFocusReading
class optris_sdk.camera.FrameFocusReading(NamedTuple)
A lens position for a frame, and how far to trust it.
fraction is where the lens was as a share of its travel, 0.0 at
the near end and 1.0 at the far end; position the same in the
scale of Optics.focus_position. source is
FRAME_FOCUS_SOURCE_FRAME for the frame's own position, or
FRAME_FOCUS_SOURCE_STATUS_TELEGRAM for the camera's status
telegram, which is NOT this frame's position: it comes about once a
second, beside the image stream, with nothing that ties it to a
frame. age_ms is then how long before the frame was handed over
the telegram arrived, plus how much later than the quickest recent
telegram it came (at most 5000); 0 for the frame's own position.
arrived_us is when the telegram reached this computer, in
microseconds on the same clock as the frames'
Frame.timestamp_us, which over Ethernet is also the
computer's arrival time: frame.timestamp_us - arrived_us is how
long before the frame arrived the telegram did, and two readings
with the same arrived_us are the same telegram. It is when the
telegram arrived, not when the camera read its lens; 0 for the
frame's own position.