optris::sdk::ReferenceCorrection
The reference-body correction currently in force, if any.
A measurement correction with no reader is a feature that cannot be checked: the SDK would say the correction had been applied and nothing anywhere could contradict it. So it is readable.
Public attributes
active
bool active = false
Whether a correction is being applied to reported temperatures.
reference_c
float reference_c = -100.0F
What the reference body really is, in the SDK's temperature unit (Celsius unless SetTemperatureUnit() chose Fahrenheit), as last passed to Radiometry::SetReferenceTemperature(). -100 when active is false, in either unit: the -100 is a marker, not a temperature, and is not converted.
measured_c
float measured_c = -100.0F
What the camera read at that spot when the correction was set, in the SDK's temperature unit. -100 when active is false, in either unit.
gain_fit
bool gain_fit = false
Whether the fit last applied was a gain fit rather than an offset fit.
v11 chooses between the two from how far the reference is from the shutter temperature, and it chooses at table-rebuild time -- after the setter has returned. So the setter cannot tell the caller which fit it is going to get, and this reports which fit it got instead. Meaningless while active is false.