OptrisOptrisDocumentation

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

Radiometry

class optris_sdk.control.Radiometry

Making the numbers true: camera.radiometry.

Radiometry — properties

effective_ambient_c

The ambient the pipeline is actually using, or None.

In the SDK's temperature unit (Celsius unless optris_sdk.set_temperature_unit chose Fahrenheit).

None means there is no ambient in force yet -- before the first frame the housing probe has not been read, so there is no estimate to report. It is None rather than a number because every number is a temperature, and a caller that shows this value could not tell "not known yet" from "0 C".

This used to return (temperature_c, estimated). The second element was the C call's validity flag under the wrong name: it read True after streaming with estimate_ambient off, contradicting the setting it claimed to describe. Whether the value is estimated is self.get().estimate_ambient; this property answers only what is in force.

Radiometry — methods

get()

The radiation parameters as the camera holds them.

set(config)

Apply a whole radiation record.

Every field is written. Read one with get and change what you mean to change rather than building a fresh record, which would write defaults over the rest.

sources()

Which of the two parameters a PIF input is driving.

A RadiationSources. See it for when the answer changes -- with the channel table, not with each sample.

  • Raises ~optris_sdk.errors.NotSupportedError — on a replay or a still. Neither has a process interface, so there is no question to answer about them.