load_from_butler

lsst.verify.extract_metricvalues.load_from_butler(butler, query, reject_suffix=None, verbose=False)
Parameters:
butler : lsst.daf.butler.Butler

Butler created with the appropriate collections, etc.

query : str

Butler dataset query to get the metric names to load.

reject_suffix : str or iterable, optional

String or tuple of strings to not load if they appear at the end of the metric name.

verbose : bool, optional

Print extra information when loading.

Returns:
result : dict [tuple, MetricValue]

The loaded metric values, keyed on data_id (DataCoordiate) and metric name (str).