FitsExternalMetadata#
- final class lsst.images.fits.FitsExternalMetadata(header)#
Bases:
ExternalMetadataRead-only, by-keyword access to the values in a FITS header.
- Parameters:
header (
Header|None) – Header to read. It is held by reference, so later changes to it are seen.Noneis equivalent to an empty header.
Notes
COMMENT,HISTORY, and blank-keyword cards are not visible. Keywords are reported in upper case, with HIERARCH keywords lacking theHIERARCHprefix (e.g.LSST ISR UNITS). Lookups ignore case and accept an optionalHIERARCHprefix. Cards with no value are reported asNone.Methods Summary
Methods Documentation
- get(k[, d]) D[k] if k in D, else d. d defaults to None.#
- 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#