contiguous_windows

function of dascore.utils.gaps source

contiguous_windows(
    coord ,
)-> ‘list[tuple[int, int]]’

The positional (start, stop) windows over which a coordinate is contiguous.

One window per stretch contiguous_runs joins the coordinate’s runs into, so a window ends at every hole missing reports, and runs joined by sub-sample jitter are one window.