Binary active run duration audit
Label adjacent active observations and measure contiguous event runs.
Your entries stay in this page’s memory and are not submitted to us. Downloads are generated locally. Reloading or leaving the page clears your entries. Do not enter patient information.
Use comma-separated finite numbers on two lines. Magnitudes must be at most 1e9 and at least 1e-12, or zero.
The starting values are hypothetical. Results update as you edit. Use aggregate or synthetic inputs only.
Calculation results
- Runs (start–end, zero-based)
- 1–2; 4–4
- Run counts
- 2, 1
- Represented durations (seconds)
- 4, 2
- Total active seconds
- 6
- Run count
- 2
How to interpret the output
Labels adjacent active (1) samples with nearest-neighbor connectivity in one dimension. Duration equals active sample count times the interval represented by each sample. This assumes interval states, not instantaneous timestamps. Missing values are rejected; boundary runs may be incomplete. No clinical event classification is inferred. Source checked 15 November 2026.
Method reference