Package org.yamcs.xtceproc
Class PolynomialCalibratorProc
- java.lang.Object
-
- org.yamcs.xtceproc.PolynomialCalibratorProc
-
- All Implemented Interfaces:
CalibratorProc
public class PolynomialCalibratorProc extends Object implements CalibratorProc
A calibration type where a curve in a raw vs calibrated plane is described using a set of polynomial coefficients. Raw values are converted to calibrated values by finding a position on the curve corresponding to the raw value. The first coefficient belongs with the X^0 term, the next coefficient belongs to the X^1 term and so on.
-
-
Constructor Summary
Constructors Constructor Description PolynomialCalibratorProc(PolynomialCalibrator c)
-
-
-
Constructor Detail
-
PolynomialCalibratorProc
public PolynomialCalibratorProc(PolynomialCalibrator c)
-
-
Method Detail
-
calibrate
public double calibrate(double d)
- Specified by:
calibrate
in interfaceCalibratorProc
-
-