Package analoginput.calibration
Class MultiplyThenAdd
java.lang.Object
analoginput.calibration.MultiplyThenAdd
- All Implemented Interfaces:
 SensorCalibration
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiondoublerawToValue(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. 
- 
Constructor Details
- 
MultiplyThenAdd
public MultiplyThenAdd() 
 - 
 - 
Method Details
- 
rawToValue
public double rawToValue(double rawValue, CalibrationData calibrationData) throws CalibrationException Description copied from interface:SensorCalibrationConvert 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.- Specified by:
 rawToValuein interfaceSensorCalibration- Parameters:
 rawValue- Value from acquisition device- Returns:
 - value in engineering units.
 - Throws:
 CalibrationException
 
 -