blosc2.get_slice_nchunks#
- blosc2.get_slice_nchunks(schunk: blosc2.SChunk, key: tuple[int, int] | int | slice | Sequence[slice]) np.ndarray #
Get the unidimensional chunk indexes needed to obtain a slice of a SChunk or a NDArray.
- Parameters:
- Returns:
out – An array with the unidimensional chunk indexes.
- Return type:
np.ndarray