print_fields¶
-
sherpa.utils.
print_fields
(names, vals, converters={})[source]¶ Given a list of strings names and mapping vals, where names is a subset of vals.keys(), return a listing of name/value pairs printed one per line in the format ‘<name> = <value>’. If a value is a NumPy array, print it in the format ‘<data type name>[<array size>]’. Otherwise, use str(value).