@property
    def n_slices(self):
        slice_dim = self.slice_dim
        if slice_dim is None:
            return None
        return self.shape[slice_dim]
The number of slices associated with the per-slice meta data.
dataset/ETHPy150Open moloney/dcmstack/src/dcmstack/dcmmeta.py/DcmMetaExtension.n_slices