MAX7400 clock-tuned filter, offline data package

Before connecting any input or output cables, connect the DHO804 rear Ground
Terminal to earth ground with the supplied ground cable. Its Type-C power input
does not provide that earth through the power cord. Use the supplied power
adapter and keep the other mains-powered instruments' protective earth intact.
The probe ground clips and any signal cable shields share the stated signal
reference; they do not replace the separate chassis earth lead.

Use Python 3.9 or later and the standard library.

  python3 clock_filter.py synthetic/slow-pass.csv synthetic/slow-test.csv synthetic/fast-test.csv synthetic/fast-pass.csv synthetic/restore.csv
  python3 -m unittest -v test_clock_filter

The five synthetic records exercise stage matching, input/output amplitudes,
and independent clock detection. Their gain and ripple values are examples,
not a filter simulation or physical results.

For actual captures, follow the clock-buffer and MAX7400 wiring diagram.
Use the blank sheet for instrument readings. Preserve the original scope
exports, and normalize a separate simultaneous three-channel record for each
stage to the header in scope-blank.csv.

  python3 clock_filter.py slow-pass.csv slow-test.csv fast-test.csv fast-pass.csv restore.csv

Exit 0 qualified, 1 unresolved waveform, stage or comparison, 2 data or
command error. Physical records should have paired timestamps, at least six
complete input cycles and no consecutive sample gap over 0.50 microseconds.
