RegionSample
class optris_sdk.measurement.RegionSample
One pixel a region's statistics were reduced from.
Only a line region produces these, and only when
Region.want_samples asked for them.
position is the distance from the line's first endpoint in
region coordinates, not a 0..1 fraction of its length. So a line
spanning x 0.2 to 0.8 gives positions running 0.003 to 0.597, and
position * camera.width is the distance in pixels. It is in the
same units as everything else in Vec2, which is what makes
a profile plottable against real distance rather than against an
index.
value_c is the pixel's temperature in the SDK's temperature
unit (Celsius unless optris_sdk.set_temperature_unit chose
Fahrenheit).