OptrisOptrisDocumentation

Documentation/OTC SDK/optris_sdk — Python API referencev12.0

SessionOutage

class optris_sdk.session.SessionOutage

A span in which one source was reported gone.

Read out of the records the recorder wrote into the file, so it survives the recorder: an application opening a session a year later gets the same answer the operator had at the time.

  • Attribute from_s — session time the source went away.
  • Attribute until_s — session time it came back, or None for an outage the file never closed -- the session stopped while the camera was still gone.
  • Attribute ended — true when the source ended here rather than dropping out. An ended source has no until_s by construction; its track is finished.
  • Attribute reason — what the operator's application said at the time, or ''.

SessionOutage — properties

duration_s

How long it lasted, or None while it is still open.

SessionOutage — methods

__repr__()