OptrisOptrisDocumentation

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

PifChannelTrim

class optris_sdk.pif.PifChannelTrim

What one analog channel's converter actually does.

The answer to "what is in force on this pin", which PifAnalogCalibration cannot give: that record is device-wide, carries what the calibration file declared, and the controller applies none of it. This one is per channel and is the one the camera uses.

In converter codes, not in volts or milliamperes. The relation is trimmed = gain * untrimmed + offset with every value a count of the converter's own steps. The two directions do not share a scale -- an input code is one of 1024, an output code one of 1001 -- so offset only means something once you know which direction was asked for.

  • Attribute source — read this before believing gain and offset. On TRIM_SOURCE_UNKNOWN and TRIM_SOURCE_NONE they are the identity and describe nothing.

PifChannelTrim — properties

source_name

PifChannelTrim — methods

__repr__()