Chooses slices at a given percentage between the first and last non-empty slice.

def _percent_selection(self, non_empty_slices):
        """Chooses slices at a given percentage between the first and last non-empty slice."""

        return np.around(self._sampler * len(non_empty_slices) / 100).astype('int64')