xdas.coordinates.SampledCoordinate.simplify#
- SampledCoordinate.simplify(tolerance=None)[source]#
Merge adjacent segments whose gap is within tolerance of the sampling interval.
- Parameters:
tolerance (float, timedelta, or None) – Maximum allowed discrepancy between the expected and actual start of the next segment.
Noneuses zero tolerance.Falsereturnsselfunchanged.