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.
Noneuses zero tolerance (lossless).Falsereturnsselfunchanged.