pyinterp.Axis.__getitem__#
- Axis.__getitem__(self, index: int) float#
- Axis.__getitem__(self, axis_slice: slice) numpy.ndarray[dtype=float64, shape=(*), order='C']
Overloaded function.
__getitem__(self, index: int) -> float
Get the coordinate value at the given index.
__getitem__(self, axis_slice: slice) -> numpy.ndarray[dtype=float64, shape=(*), order='C']
Get the coordinate values for the given slice.