LSST Science Pipelines
  • Forum
  • Docs
  • LSST.org →

Navigation

  • next »
  • « previous |
  • LSST Science Pipelines »
  • lsst.verify »
  • print_metrics

print_metrics¶

lsst.verify.extract_metricvalues.print_metrics(butler, kind, *, data_id_keys=None, data_id_restriction=None, verbose=False)¶

Print all metrics with measured values in the given repo.

Parameters:
butlerlsst.daf.butler.Butler

Butler to load values from.

kindstr

Kind of metrics to load.

data_id_keyscollection [str], optional

List of Butler dataId keys to restrict the printed output to; for example: ("detector", "visit").

data_id_restrictiondict, optional

Only include values whose dataId matches these key:value pairs; for example: {"detector": 50}. If a metric does not use a key, it is not included.

verbosebool, optional

Print extra information when loading values.

Returns:
outputstr

A formatted string with all the requested metric values.

On this page

  • print_metrics
    • print_metrics()

  Back to Top

Last built Jan 22, 2025.

Created using Sphinx 6.2.1. Page design is based on Astropy's bootstrap-astropy theme in astropy-helpers.
LSST documentation is proudly served through the Fastly CDN.

© Copyright 2015-2025 LSST contributors.

Financial support for LSST comes from the National Science Foundation (NSF) through Cooperative Agreement No. 1258333, the Department of Energy (DOE) Office of Science under Contract No. DE-AC02-76SF00515, and private funding raised by the LSST Corporation. The NSF-funded LSST Project Office for construction was established as an operating center under management of the Association of Universities for Research in Astronomy (AURA). The DOE-funded effort to build the LSST camera is managed by the SLAC National Accelerator Laboratory (SLAC).