build_gap_frame
build_gap_frame(
df: DataFrame ,
name: str ,
tolerance: float | pint.registry.Quantity | numpy.timedelta64 | dascore.utils.gaps.GapTolerance | None[float, Quantity, timedelta64, GapTolerance, None] = None,
max_shift: float | None[float, None] = None,
group: str | collections.abc.Sequence[str, collections.abc.Sequence[str], None] = None,
on_missing_dim: Literal[‘raise’, ‘drop’] = drop,
)-> ‘pd.DataFrame’
Report every discontinuity along name in a flat patch relation.
One row per gap, over the same cells and the same continuity rule build_chunk_plan uses, so a gap here is exactly a boundary chunk refuses to merge. {name}_min is the last sample before the gap and {name}_max the first sample after it, so gap_size is their difference.