create_metric_set_df

rubin_sim.maf.run_comparison.create_metric_set_df(metric_set, metrics, short_name=None, style='-', invert=False, mag=False)

Create a DataFrame that defines a metric set.

Parameters:
metric_setstr

The name of a metric set.

metricslist [str]

A list of metric names in the set.

short_namelist [str], optional

A list of shorter metric names, by default None

stylelist [str], optional

The matplotlib line style symbol for lines representing the metric, by default “-”

invertlist [bool], optional

Are smaller values of the metric better, such as for errors?, by default False

maglist [bool], optional

Is the metric an astronomical magnitude?, by default False

Returns:
metric_setpandas.DataFrame

A table of metrics and normalization and plotting flags defining the content of a metric set.