rubin_sim
  • Forum
  • Docs
  • LSST.org →

Navigation

  • next »
  • « previous |
  • rubin_sim »
  • print_simple_dict

print_simple_dict¶

rubin_sim.maf.utils.print_simple_dict(topdict, subkeyorder, filehandle=None, delimiter=' ')¶

Print a simple one-level nested dictionary nicely across the screen, with one line per top-level key and all sub-level keys aligned.

Parameters:
topdictdict

The dictionary to pretty print

subkeyorderlist of strings

The order to print the values of the dictionary.

filehandlefile

File output object, if None then uses stdout.

delimiterstr

User specified delimiter between fields.

On this page

  • print_simple_dict
    • print_simple_dict()

  Back to Top

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

© Copyright 2015-2022 Association of Universities for Research in Astronomy, Inc. (AURA).

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).