Add classes to handle DUT measurements

Add the MeasurementPoint class to hold information about DUT
measurements, and the MeasurementList class to organize multiple DUT
measurements.

The MeasurementList class prepares entries from the measurement database
for analysis by:
* scaling measurements to mm
* filtering out early measurements when necessary (noise tests)
* assigning a unique finger id to each continuous touch
* mapping touches to the closest target shape drawn by the robot.

BUG=b:1489627899
TEST=Run robot tests, plot scaled measurements and robot shapes, examine
mappings

Change-Id: Ic2e317d0398020ef3fa0eab2e9ee36c894567e3f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/optofidelity_TPPT_analysis/+/2871952
Commit-Queue: Sean O'Brien <seobrien@chromium.org>
Tested-by: Sean O'Brien <seobrien@chromium.org>
Reviewed-by: Harry Cutts <hcutts@chromium.org>
3 files changed