{ } Raw JSON

bundles / astropy latest / astropy / io / fits / hdu / base / _ValidHDU / match_header

classmethod

astropy.io.fits.hdu.base:_ValidHDU.match_header

source: /astropy/io/fits/hdu/base.py :947

Summary

Matches any HDU that is not recognized as having either the SIMPLE or XTENSION keyword in its header's first card, but is nonetheless not corrupted.

Extended Summary

TODO: Maybe it would make more sense to use _NonstandardHDU in this case? Not sure...

Aliases

  • astropy.io.fits.convenience._ValidHDU.match_header