coordinates.mixins.core.CoordinateSystemAxesMixin.get_mask_from_indices#
- CoordinateSystemAxesMixin.get_mask_from_indices(indices: int | Sequence[int]) ndarray [source]#
Boolean mask that is True at the supplied numeric indices.
Negative indices are handled exactly like standard Python indexing.
- Parameters:
indices (
int
orSequence[int]
)- Returns:
Mask of length
ndim
.- Return type:
- Raises:
IndexError – If any index is out of range.