get_slice_tuple

method of dascore.core.coords.BaseCoord source

get_slice_tuple(
    self ,
    select: slice | None | ellipsis | tuple[<class ’slice, None, <class ’ellipsis, tuple[Any, Any]] ,
    relative = False,
)-> ‘tuple[Any, Any]’

Get a tuple with (start, stop) and perform basic checks.

Parameters

Parameter Description
select An object for determining select range.