def get_metric_scores(ground_truth, simulation, measurement, metric, measurement_kwargs={}, metric_kwargs={}):
    """
    Function to combine measurement and metric computations

    :param ground_truth: pandas dataframe of ground truth
    :param simulation: pandas dataframe of simulation
    :param measurement: measurement function
    :param metric: metric function
    :return: metric computation for measurements calculated from gold and simulation

    """
    print("Calculating {} for {}".format(metric.__name__, measurement.__name__))
    measurement_on_gt = measurement(ground_truth, **measurement_kwargs)
    measurement_on_sim = measurement(simulation, **measurement_kwargs)
    return measurement_on_gt, measurement_on_sim, metric(measurement_on_gt, measurement_on_sim, **metric_kwargs)