resolve

method of dascore.utils.gaps.GapTolerance source

resolve(
    self ,
    dtype ,
    units ,
    name: str = tolerance,
)-> ‘GapTolerance’

Convert an absolute excess into a coordinate’s own scalar.

A plain number is already in coordinate units (seconds for time); a timedelta against a numeric coordinate is a length in seconds.