iselect

method of dascore.core.coordmanager.CoordManager source

iselect(
    self ,
    array: None = None,
    **kwargs ,
)-> ‘tuple[Self, MaybeArray]’

Perform index-based selection on coordinates.

Parameters

Parameter Description
array An array to which the selection will be applied.
**kwargs Used to specify select arguments. Can be of the form {coord_name: (lower_index, upper_index) or coord_name: index}. As is standard in python, negative indices refer to the end of sequence.