Comparing Distance Measurements with Python and SciPy