def give_index_atlas(indicator):
    """
    function to give idx for available atlases.

    Args:
        indicator: list with ones and zeros indicating with a one that the atlas is available

    Returns:
        indexes of available atlases

    """

    idx = []
    for i in range(len(indicator)):
        if indicator[i] == 1:
            idx.append(i)

    return idx