Skip to content

Main content

Scan Reverse Turn Point Duplicate Tool

Partition supplied scan samples around an explicit turning time; potential values preserve sample alignment and do not determine the turn.

Loading tool…

Description

Partition original indexes by time relative to turningTime, assigning exact turning-time ties according to that policy.

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.

Partition original indexes by time relative to turningTime, assigning exact turning-time ties according to that policy.

When to use this tool

Use Scan Reverse Turn Point Duplicate when checking a supplied potential reference or scan-boundary convention.

How to use the tool and how it works

  1. Enter times, potentials, turningTime, keepTurningIn. Keep parallel arrays aligned. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read beforeIndices, afterIndices. Use the output convention below.

Require equally long times and potentials with nondecreasing times and keepTurningIn before, after or both. Partition original indexes by time relative to turningTime, assigning exact turning-time ties according to that policy.1

Input fieldMeaning and unitsAccepted input
timesTimesRequired. Array of finite number; maximum items 256.
potentialsPotentialsRequired. Array of finite number; maximum items 256.
turningTimeTurning TimeRequired. Finite number.
keepTurningInKeep Turning InRequired. Text; one of "before", "after", "both"; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
beforeIndicesBefore IndicesRequired. Array of safe integer; maximum items 256.
afterIndicesAfter IndicesRequired. Array of safe integer; maximum items 256.
json
{
  "input": {
    "times": [
      0,
      1,
      2
    ],
    "potentials": [
      0,
      1,
      0
    ],
    "turningTime": 1,
    "keepTurningIn": "before"
  },
  "output": {
    "beforeIndices": [
      0,
      1
    ],
    "afterIndices": [
      2
    ]
  }
}

Limitations and assumptions

  • All duplicate turning-time records follow the policy. Potentials are not used to infer reversal; no interpolation, signal processing or automatic vertex detection occurs.
  • 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

  1. Calculation and input contract: electrochemistry/scan-reverse-turn-point-duplicate — tool.io

Similar or alternative tools