Panasonic TQ2-5V relay steady holding-power experiment

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.

Python 3.9 or later and the standard library.

  python3 relay_hold.py synthetic/steps-only.csv --sweeps-only
  python3 relay_hold.py synthetic/trial.csv
  python3 -m unittest -v test_relay_hold

The two synthetic files are constructed readings. They show how to bracket
transitions and compare steady coil power, without claiming physical
measurements. The blank worksheet has planned stage names and indexes.
Save a ladder-only copy of its first 84 completed rows and analyze to
choose a measured coil terminal voltage. Then use the five trial rows
for idle-mid, boost, hold-2s, hold-10s and reset.

Use the assigned scope nodes, with clips left on G0. TOP minus SHUNT is
the actual terminal voltage. Shunt voltage divided by the measured
series resistance estimates the settled coil current. The default is
10 ohms; pass --shunt-ohms with a measured value if available.

Exit 0 qualified, 1 unresolved, 2 invalid file or command.
