Class MultiplyThenAdd

java.lang.Object
analoginput.calibration.MultiplyThenAdd
All Implemented Interfaces:
SensorCalibration

public class MultiplyThenAdd extends Object implements SensorCalibration
  • Constructor Details

    • MultiplyThenAdd

      public MultiplyThenAdd()
  • Method Details

    • rawToValue

      public double rawToValue(double rawValue, CalibrationData calibrationData) throws CalibrationException
      Description copied from interface: SensorCalibration
      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.
      Specified by:
      rawToValue in interface SensorCalibration
      Parameters:
      rawValue - Value from acquisition device
      Returns:
      value in engineering units.
      Throws:
      CalibrationException