scipp.slices# scipp.slices(scipp_obj, dim)# Slice input along given dim, and return all the slices in a dict. Parameters: scipp_obj (TypeVar(_T, bound= DataArray | Dataset)) – Dataset or DataArray to be split into slices. dim (str) – Dimension along which to slice. Returns: dict[str, TypeVar(_T, bound= DataArray | Dataset)] – A dictionary holding slices of the input object.