OptrisOptrisDocumentation

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

ClippedWindow

class optris_sdk.control.ClippedWindow

Where a clipped video format's window sits on the detector.

The fastest formats are not the whole detector. A PI 640's 640x120 @ 125 Hz reads 120 of its 480 rows, and that strip is a window onto the full readout. It can be moved -- there is no reason the interesting part of the scene should be in the middle.

Read it with Camera.get_clipped_window, which answers on every camera, open or not. clipped is false on a mode that reads the whole detector, which is most of them; test it before offering a control, because it is Camera.set_clipped_window that refuses, not this.

ClippedWindow — properties

clipped

Whether the active mode is a clipped format at all.

x

Left edge within the full readout, in detector pixels.

y

Top edge, same units.

max_x

Largest x this mode accepts.

Usually zero: a fast format drops rows rather than columns, so the window moves vertically only.

max_y

Largest y, under the same rule.

device_size

The full readout this window sits in, as (width, height).

Not the frame size -- that is operation_mode.width and .height, and it is the smaller of the two wherever the window can move.

ClippedWindow — methods

__repr__()