def default_objective(processed_data, **aux_params):
    """
    Takes the processed data to calculate the objective to minimize

    Parameters
    ----------
    processed_data : list
        A list of [(params, process_data(**params)), ...] that are the
        result of applying the process_data method across all parameters
    **aux_params
        Any other parameters can be defined and passed through the COEP
        object

    Returns
    -------
    A single number representing the objective to minimize
    """
    tot = 0
    for params, obj in processed_data:
        tot += obj
    return tot