Package analoginput.calibration
Interface SensorCalibration
- All Known Implementing Classes:
AddThenMultiplyThenAdd
,MultiplyThenAdd
public interface SensorCalibration
-
Method Summary
Modifier and TypeMethodDescriptiondouble
rawToValue
(double rawValue, CalibrationData calibrationData) Convert a value from an ADC, which will probably have already been converted to volts or amps into an 'engineering' unit, e.g.
-
Method Details
-
rawToValue
Convert a value from an ADC, which will probably have already been converted to volts or amps into an 'engineering' unit, e.g. depth, heading, etc.- Parameters:
rawValue
- Value from acquisition device- Returns:
- value in engineering units.
- Throws:
Calibration
- exception if calibration data is missing or incompatible.CalibrationException
-