Swap two capacitors in a Sallen–Key low-pass filter

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 sallen_swap.py synthetic
    python3 -m unittest -v test_sallen_swap

The constructed data illustrate the calculations. This bundle contains no
physical measurements or device performance claims. Follow the article for
the exact TLV9001IDBVR wiring, the two capacitor positions and the nine raw
two-channel records. The CSV template supplies the required header.
Use a directory containing a-100.csv, a-2225.csv, a-8000.csv and corresponding
swap- and restore- files. Preserve paired VIN and OUT samples.

    python3 sallen_swap.py my-captures

Exit 0 means the data support comparable natural frequency and distinct Q
with an agreeing restore control. Exit 1 means unresolved comparison.
Exit 2 means invalid input or syntax.
