from_user

method of dascore.utils.gaps.GapTolerance source

from_user(
    tolerance ,
    name: str = tolerance,
    seam = False,
)-> ‘GapTolerance’

Read a tolerance as the public entry points spell it.

A number is a multiple of the sampling interval; a quantity or timedelta states an absolute excess in the coordinate’s units, or the seam’s whole width if seam. A dimensionless quantity is the multiple it spells out.