Exception raised when hardware resources for an OPU are already taken
OpuDevice(opu_type: str, frametime_us: int, exposure_us: int, sequence_nb_prelim=0, output_roi: Tuple[Tuple[int, int], Tuple[int, int]] = None, verbose=False, name='opu')¶
Class for hardware interface with a LightOn OPU.
Implements a context manager interface for acquiring access to the OPU, but most properties are gettable and settable even though the OPU isn’t active.
bool, whether the hardware resources have been acquired
Gain of the output (not implemented in every device)
tuple(int), Shape of the input, in elements and cartesian coordinates
Acquires hardware resource.
Do nothing if the resource is already acquired in the current object. If the resource isn’t available, do 4 retries until it is available, or raise a OPUUsedByOther exception
Equivalent is to use context manager interface:
with opu: outs = opu.transform(ins)
self.OPUUsedByOther – if hardware has already been acquired in another process or object
Shape of the whole output (no ROI), in elements and cartesian coordinates
Does internal allocation of a number of images, necessary for transform2 calls
Returns multi-line string with device and libraries versions