A 2N3904 turn-off comparison with and without a Schottky clamp

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+ with the standard library.

    python3 clamped_switch.py synthetic/open.csv synthetic/clamp.csv synthetic/restore.csv
    python3 -m unittest -v test_clamped_switch

Save three fresh synchronous Memory CSV scope captures and copy their real
samples in order into files with the template header. Preserve the original
exports. The capture sequence is open, BAT85S clamp installed, open restored.
The full tutorial describes circuit, controls, timing geometry and grounds.

    python3 clamped_switch.py open.csv clamp.csv restore.csv

The two delay measures use the same falling drive crossing at 1.50 V
and compare the collector at 20% of each record's own rise and at 1.50 V.
Exit 0 confirms supported shorter delays and the expected low-level cost under
the stated setup. Exit 1 means the complete comparison is unresolved. Exit 2
indicates invalid input. All examples are synthetic. No bench traces are supplied.
