from_user

method of dascore.utils.gaps.GapTolerance source

from_user(
    tolerance ,
    name: str = tolerance,
)-> ‘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. A dimensionless quantity is the multiple it spells out.