Description
Return difference = measuredPotential-suppliedReferencePotential and sign = Math.sign(difference), using one compatible potential unit and reference basis.
Electrochemical potentials require a common reference electrode, unit and sign convention. Endpoint differences and scan partitions are record operations; changing the reference scale or correcting drift needs explicit supplied offsets.
Return difference = measuredPotential-suppliedReferencePotential and sign = Math.sign(difference), using one compatible potential unit and reference basis.
When to use this tool
Use Reference Electrode Offset Sign when checking a supplied potential reference or scan-boundary convention.
How to use the tool and how it works
- Enter measuredPotential, suppliedReferencePotential. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read difference, sign. Use the output convention below.
Return difference = measuredPotential-suppliedReferencePotential and sign = Math.sign(difference), using one compatible potential unit and reference basis.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| measuredPotential | Measured Potential | Required. Finite number. |
| suppliedReferencePotential | Supplied Reference Potential | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| difference | Difference | Required. Finite number. |
| sign | Sign | Required. Safe integer. |
{
"input": {
"measuredPotential": 0.2,
"suppliedReferencePotential": 0.1
},
"output": {
"difference": 0.1,
"sign": 1
}
} Limitations and assumptions
- Exact equality returns zero; no tolerance, reference-electrode selection or electrochemical significance is inferred.
- 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 calibrated references and full recorded waveforms when drift, reversal detection, peak fitting or experimental interpretation matters.
References
Similar or alternative tools
- Electrode Reference Drift Sign
Return correctedPotential = measuredPotential-referenceDrift+referenceToTarget on a common potential unit basis.
- Electrode Reference Scale Potential Shift
Return targetPotential = measuredPotential+sourceReferenceVsCommon-targetReferenceVsCommon+junctionCorrection.