xdas.coordinates.InterpCoordinate.simplify#

InterpCoordinate.simplify(tolerance=None)[source]#

Reduce the number of tie points using the Douglas-Peucker algorithm.

Parameters:

tolerance (float, timedelta, or None) – Maximum allowed deviation from the original piecewise-linear curve. None uses zero tolerance (lossless). False returns self unchanged.