get_patch_window_size

function of dascore.utils.patch source

get_patch_window_size(
    patch: Patch ,
    kwargs: <class ‘dict ,
    samples: bool = False,
    require_odd: bool = False,
    warn_above: int | None[int, None] = None,
    min_samples: int = 1,
    enforce_lt_coord: bool = False,
)-> ’tuple[int, …]’

Return the window along every patch axis; see resolve_window.