Function lsst::afw::fits::readMetadata(fits::MemFileManager&, int, bool)¶
Function Documentation¶
- 
std::shared_ptr<daf::base::PropertyList> 
lsst::afw::fits::readMetadata(fits::MemFileManager &manager, int hdu = DEFAULT_HDU, 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
 manager: the in-memory file whose header will be readhdu: the HDU to read (0-indexed; 0 is the Primary HDU).strip: iftrue, common FITS keys that usually have non-metadata intepretations (e.g. NAXIS, BITPIX) will be ignored.