INA180 current shunt placement
=============================

Open preview.html for the wiring, bench procedure and analysis explanation.
Open fixture.svg in a vector editor or fixture.png at full size.

Keep the same INA180A1IDBVR, 0.47 ohm shunt and 5 V supply for both placements.
Use the 82 ohm and 47 ohm loads one at a time. Enter three full trial rounds per
load and placement into a copy of observations-blank.csv. Use volts and
millivolts as indicated by the headings. The sheet contains no bench values.

Use Python 3.9 or later with the standard library:

    python3 shunt_compare.py observations.csv
    python3 -B -m unittest -v test_shunt_compare.py

The default 0.470 ohm value is nominal. Pass a verified four-wire measurement
with --shunt-ohms to refine the estimate. Keep the actual resistor tolerance
and measurement uncertainty with your bench notes.

The test data in test_shunt_compare.py are synthetic. Bench observations are
entered by the person running the fixture. The analyzer runs on a computer.
