Description
Return gain = (trueSpan-trueZero)/(measuredSpan-measuredZero) and corrected = trueZero+(raw-measuredZero)*gain.
Environmental measurements can require background subtraction, recovery correction, calibration or a common reference basis. Corrected values can be signed; a numerical correction is separate from detection, analytical validity and health interpretation.
Return gain = (trueSpan-trueZero)/(measuredSpan-measuredZero) and corrected = trueZero+(raw-measuredZero)*gain.
When to use this tool
Use Environmental Sensor Drift Zero Span when checking a supplied measurement correction, comparison or calibration term.
How to use the tool and how it works
- Enter raw, measuredZero, measuredSpan, trueZero, trueSpan. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read gain, corrected. Use the output convention below.
Require measuredSpan !== measuredZero and trueSpan !== trueZero. Return gain = (trueSpan-trueZero)/(measuredSpan-measuredZero) and corrected = trueZero+(raw-measuredZero)*gain. Measured values share an instrument-unit basis; true values define the corrected unit.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| raw | Raw | Required. Finite number. |
| measuredZero | Measured Zero | Required. Finite number. |
| measuredSpan | Measured Span | Required. Finite number. |
| trueZero | True Zero | Required. Finite number. |
| trueSpan | True Span | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| gain | Gain | Required. Finite number. |
| corrected | Corrected | Required. Finite number. |
{
"input": {
"raw": 52,
"measuredZero": 2,
"measuredSpan": 102,
"trueZero": 0,
"trueSpan": 100
},
"output": {
"gain": 1,
"corrected": 50
}
} Limitations and assumptions
- A reversed calibration gives a negative gain, and raw values outside the measured endpoints are extrapolated. The two-point affine model does not establish linearity, drift stability, uncertainty or sensor fitness for use.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use the relevant analytical method, quality-control records and uncertainty model before classifying a corrected measurement.
References
Similar or alternative tools
- Environmental Source Basis Gap
Convert commonBasisValue = reportedConcentration*sourceBasisFactor and referenceBasisValue = suppliedReferenceValue*referenceBasisFactor, then return gap = commonBasisValue-referenceBasisValue.
- Sensor Fouling Baseline Correction Term Tool
Subtract an explicit additive fouling bias from an environmental sensor reading without deriving a correction or certifying calibration.