linear-segmentation (pypi): Automatic sparse sampling of 1-D array into linear segments minimizing error
Keywords: linear-interpolation|linear-regression|sparse-sampling