- foxes.utils.unpack_value(packed_value, scale_factor, add_offset, fill_value)[source]
Unpack an integer representation back into a floating point value.
Parameters¶
- packed_value: int or np.ndarray
The packed integer value(s) to be unpacked
- scale_factor: float
The scale factor
- add_offset: float
The add offset
- fill_value: float
The fill value for NaN
Returns¶
- unpacked_value: float or np.ndarray
The unpacked floating point value(s)