One Pulse Train, Three Answers: DC, AC RMS and Heating

Before connecting any input or output cables, connect the DHO804 rear Ground
Terminal to earth ground using its supplied ground cable. Its Type-C power
input does not earth the instrument through the power cord. Use the supplied
power adapter, and keep the AFG1022 and 34461A protective earth connected.
The shared signal return does not replace the DHO804 earth lead. Use only
the stated low-voltage grounded source.

The article describes the wiring, generator settings and data collection. Keep
the original multimeter and oscilloscope files and the four modes separate.
Record the multimeter's values in meter-readings-blank.csv; add the actual
oscilloscope CSV samples in the form mode,time_s,v.

Two synthetic files exercise the analyzer with calculated captures and readings.
They are not measurements. Run the sample locally with Python 3:
  python3 pulse_rms.py synthetic-scope.csv synthetic-meter.csv

For a bench record, use the measured load resistance, e.g.:
  python3 pulse_rms.py scope.csv meter.csv --resistance-ohm 10000

Tests:
  python3 -B -m unittest -v test_pulse_rms

The returned power is an electrical estimate; the tests do not measure heat.
