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_set
str
The name of a metric set.
- metrics
list
[str
] A list of metric names in the set.
- short_name
list
[str
], optional A list of shorter metric names, by default None
- style
list
[str
], optional The matplotlib line style symbol for lines representing the metric, by default “-”
- invert
list
[bool
], optional Are smaller values of the metric better, such as for errors?, by default False
- mag
list
[bool
], optional Is the metric an astronomical magnitude?, by default False
- metric_set
- Returns:
- metric_set
pandas.DataFrame
A table of metrics and normalization and plotting flags defining the content of a metric set.
- metric_set