select

method of dascore.core.coords.CoordRange source

select(
    self ,
    args ,
    relative = False,
)-> ‘tuple[BaseCoord, slice | ArrayLike]’

Apply select, return selected coords and index to apply to array.

Can return a CoordDegenerate if selection is outside of range.