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
stroriterable, optional String or tuple of strings to not load if they appear at the end of the metric name.
- verbosebool, optional
Print extra information when loading.
Returns#
- result
dict[tuple,MetricValue] The loaded metric values, keyed on data_id (
DataCoordiate) and metric name (str).
- butler