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
- Enter times, potentials, turningTime, keepTurningIn. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- 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 field | Meaning and units | Accepted input |
|---|---|---|
| times | Times | Required. Array of finite number; maximum items 256. |
| potentials | Potentials | Required. Array of finite number; maximum items 256. |
| turningTime | Turning Time | Required. Finite number. |
| keepTurningIn | Keep Turning In | Required. Text; one of "before", "after", "both"; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| beforeIndices | Before Indices | Required. Array of safe integer; maximum items 256. |
| afterIndices | After Indices | Required. Array of safe integer; maximum items 256. |
{
"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
Similar or alternative tools
- Sweep Vertex Potential Gap
Return outgoingStep = vertexPotential-startPotential and returnStep = endPotential-vertexPotential.
- Cyclic Voltammetry Peak Separation Gap
separation = anodicPeak-cathodicPeak; midpoint is their arithmetic mean; referenceGap = separation-referenceSeparation.