Function lsst::afw::fits::readMetadata(fits::Fits&, bool)¶
Function Documentation¶
-
std::shared_ptr<daf::base::PropertyList>
lsst::afw::fits
::
readMetadata
(fits::Fits &fitsfile, bool strip = false) Read FITS header
Includes support for the INHERIT convention: if ‘INHERIT = T’ is in the header, the PHU will be read as well, and nominated HDU will override any duplicated values.
- Parameters
fitsfile
: the file and HDU to be readstrip
: iftrue
, common FITS keys that usually have non-metadata intepretations (e.g. NAXIS, BITPIX) will be ignored.