def METHOD_NAME(self):
    """Returns index of the coordinate set."""
    acsi = self._acsi
    if acsi >= self._ag._n_csets:
        raise ValueError('{0} has fewer coordsets than assumed by {1}'
                         .format(str(self._ag), str(self)))
    return acsi