strip_provenance_from_fits_header#

lsst.obs.base.strip_provenance_from_fits_header(hdr: MutableMapping | PropertyList) None#

Remove all FITS headers relating to butler provenance.

Parameters#

hdrlsst.daf.base.PropertyList or collections.abc.MutableMapping

The FITS header to modify. Assumes HIERARCH will be handled implicitly by the writer.

Notes#

These headers will have been added by, for example, the butler formatter via a call to add_provenance_to_fits_header.