Kalman filter · Sampling diagnostics
Sampling Interval Checker
Paste a column of timestamps to inspect adjacent sampling intervals. The checker flags short and long intervals, duplicate timestamps, and timestamps that go backward. It retains the input line numbers. Data stays in your browser and is not uploaded.
Results
- Baseline Δt
- Median positive interval
- Allowed range (inclusive)
- In range
- Short
- Long
- Duplicate
- Backward
- Unclassified
| Input lines (from → to) | Observed interval | Difference from baseline | Relative deviation | Status |
|---|
Need F and Q for this interval?Open constant-velocity Q generator · Open constant-acceleration Q generator
How intervals are classified
Subtract the earlier timestamp from the later one. Relative deviation is (observed interval − baseline) ÷ baseline. An interval is short or long only when its absolute deviation exceeds the tolerance. Zero and negative intervals are always flagged as duplicates and backward steps, respectively.
A long interval can be due to a missed sample, scheduling delay, or buffering. Timestamps alone do not identify the cause. When sampling is genuinely irregular, recompute F and Q for each observed Δt instead of assuming a fixed period.