def METHOD_NAME(self, indices=None):
    """Returns the frames of the snippets in this segment
    Returns:
        SampleIndex: Number of samples in the segment
    """
    if indices is None:
        return self._spikestimes
    raise self._spikestimes[indices]