Measure How a Sealed Lid Changes Speaker Impedance

Before connecting any input or output cables, connect the DHO804’s rear Ground Terminal to earth ground with the supplied ground cable, following the DHO800 User Guide. Its Type-C power input does not ground the instrument through the power cord. Use the supplied DHO804 power adapter and keep the AFG1022’s protective earth connected. The probe grounds and signal return do not replace the DHO804’s required earth lead.

Wire the drawing with both scope grounds at G0. Keep the speaker on
its fixed baffle. Use the 8.2 ohm load only for the electrical control.

Copy observations-blank.csv and enter a separate trace filename on
each row. See trace-blank.csv for the normalized DHO804 Memory CSV
column names. Keep all CSV files in the same directory. Use simultaneous
IN and LOAD samples, time in seconds and voltage in volts.

Use Python 3.9 or newer with the standard library.

    python3 speaker_impedance.py observations.csv --phasor-error-percent 3
    python3 -m unittest -v test_speaker_impedance.py

Set the phasor allowance using the article and actual bench checks.
The reported peak spans cover the sampled comparison only. The physical
measurements are blank. Tests use explicitly constructed waveforms.
