ExternalMetadata#
- class lsst.images.serialization.ExternalMetadata#
Bases:
Mapping[str,ExternalMetadataValue]Read-only access to metadata that was carried in from an external source, such as the primary header of a FITS file, and is not part of the data model.
Notes
Lookups and membership tests are case-insensitive. Iteration yields each key once, in the form the underlying source reports it. When a key is repeated in the source, which of its values
[]returns is unspecified; useget_allto obtain every value.Methods Summary
Methods Documentation
- get(k[, d]) D[k] if k in D, else d. d defaults to None.#
- abstract get_all(key)#
Return every value for a key, in source order.
- items() a set-like object providing a view on D's items#
- keys() a set-like object providing a view on D's keys#
- values() an object providing a view on D's values#