OptrisOptrisDocumentation

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

RecordingTimeZone

class optris_sdk.recording.RecordingTimeZone(_NamedTuple)

The time zone a recording was made in, beside its UTC start.

name is the IANA name ('Europe/Berlin'), empty for a fixed offset or a computer whose zone has no name. utc_offset_minutes is the offset from UTC at the start, east of Greenwich (+120 for central European summer time). assumed is true for a recording converted from a .ravi with no zone given, read in the converting computer's zone; corrected when the zone was set afterwards (optris_sdk.ravi.correct_start_time).

Mirrors rec::RecordingTimeZone.

RecordingTimeZone — properties

tzinfo

The fixed offset at the start, as a datetime.timezone.

playback_started_at.astimezone(zone.tzinfo) is the start as the clock in the room read it.