OptrisOptrisDocumentation

Documentation/OTC SDK/Optris.Sdk — C# API referencev12.0

ReferenceCorrection

public readonly record struct ReferenceCorrection : IEquatable<ReferenceCorrection>

The reference-body correction currently in force, if any.

IsActive == false for a source with no correction set and for one that cannot carry one alike. Those are different situations; ThermalCamera.ReferenceCorrectionSupport is the query that separates them.

ReferenceCorrection: constructors

public ReferenceCorrection(bool IsActive, float Reference, float Measured, bool IsGainFit)

The reference-body correction currently in force, if any.

  • IsActive: Whether a correction is being applied to reported temperatures.
  • Reference: What the reference body really is, in the SDK's temperature unit (Celsius unless Sdk.TemperatureUnit chose Fahrenheit). −100 when inactive, in either unit: a marker, not a temperature.
  • Measured: What the camera read there, in the SDK's temperature unit. −100 when inactive, in either unit.
  • IsGainFit: Whether the fit applied was a gain fit rather than an offset fit. The SDK chooses between the two when the energy table is next rebuilt (after the setter returns), so this is the only place the choice can be observed. Meaningless while IsActive is false.

IsActive == false for a source with no correction set and for one that cannot carry one alike. Those are different situations; ThermalCamera.ReferenceCorrectionSupport is the query that separates them.

ReferenceCorrection: properties

public bool IsActive { get; init; }

Whether a correction is being applied to reported temperatures.

public bool IsGainFit { get; init; }

Whether the fit applied was a gain fit rather than an offset fit. The SDK chooses between the two when the energy table is next rebuilt (after the setter returns), so this is the only place the choice can be observed. Meaningless while IsActive is false.

public float Measured { get; init; }

What the camera read there, in the SDK's temperature unit. −100 when inactive, in either unit.

public float Reference { get; init; }

What the reference body really is, in the SDK's temperature unit (Celsius unless Sdk.TemperatureUnit chose Fahrenheit). −100 when inactive, in either unit: a marker, not a temperature.