def circular_indices(vector, start, length, num):
    """docstring for circular_indices"""
    if start > length:
        start = start - length
    if start + num < length:
        return vector[start:start + num]
    return vector[start:] + vector[:start + num - length]
