OptrisOptrisDocumentation

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

RadiationSources

class optris_sdk.control.RadiationSources

Which radiation parameters a process-interface input is driving.

Returned by Radiometry.sources and by optris_sdk.camera.Camera.radiation_sources.

Radiometry.get reads the parameters back from the engine rather than echoing the last write, so a value a PIF input supplied comes back from it looking exactly like one that was set through this API. This is what tells them apart: an application that lets an operator edit the emissivity or the ambient temperature can show the field read-only, and say which input owns it, instead of accepting an edit the next PIF sample discards.

The answer follows the channel table, not the samples, so reading it once after configuring the process interface is enough.

Only the two parameters a PIF can drive are here. There is no transmissivity, because no PIF channel kind decodes to one; a field fixed at optris_sdk.RADIATION_SOURCE_SDK that could never hold anything else is not information.

  • Attribute emissivity — optris_sdk.RADIATION_SOURCE_SDK or optris_sdk.RADIATION_SOURCE_PIF.
  • Attribute ambient_temp — the same, for the ambient temperature. A PIF ambient channel takes effect regardless of estimate_ambient and clears it as a side effect, so a configuration that asked the camera to estimate the ambient quietly stops doing so once such a channel is configured. This says the channel is driving it; it does not say what happened to the estimate flag -- read that back with Radiometry.get.

RadiationSources — properties

any_from_pif

Whether a PIF input is driving either of them.

The one-line test for "is any part of this panel not mine to edit".

RadiationSources — methods

__repr__()