One sine and two sample apertures

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 fft_windows.py synthetic/input.csv
    python3 -m unittest -v test_fft_windows

The example is synthetic. For new measurements, follow the article
and copy one contiguous uniform Memory CSV from the DHO804. Keep
the two original sample columns and use the supplied header template.
The analyzer selects the two prefixes itself without retiming the
data. Its crossing/sine estimates serve as separate measurements.

    python3 fft_windows.py capture.csv

Exit 0 confirms the controlled comparison, 1 means unresolved data,
and 2 means the CSV or command syntax is invalid.
