def filter_objects(filter, *objects):

    """
    filter multiple objects

    Parameters
    ----------
    filter : list
        boolean list
    objects :
        objects to filter

    Returns
    -------
    objects :
        filtered objects
    """

    new_objects = []
    for o in objects:
        new_objects.append(o[filter])

    return new_objects