Review the timing
Inspect the unfiltered per-frame measurements along with the smoothed trend. Mark each detected event before applying any smoothing.
Test the reporting pipeline with a single deliberately injected outlier. Check whether the graph preserves event position and peak magnitude.
Worked timing example
The center value of [0,80,0] is 80 in the raw sequence. A three-frame median for the same center gives 0, completely suppressing the synthetic event.
What the timing evidence supports
Use raw peaks or explicit event flags for transient failures, and use the smoothed curve only for slower drift. Confirm flagged frames visually.