bundles / astropy 7.0.1 / astropy / io / fits / header / _BasicHeader
ABCMeta
astropy.io.fits.header:_BasicHeader
source: /astropy/io/fits/header.py :1977
Signature
def _BasicHeader ( cards ) Members
Summary
This class provides a fast header parsing, without all the additional features of the Header class. Here only standard keywords are parsed, no support for CONTINUE, HIERARCH, COMMENT, HISTORY, or rvkc.
Extended Summary
The raw card images are stored and parsed only if needed. The idea is that to create the HDU objects, only a small subset of standard cards is needed. Once a card is parsed, which is deferred to the Card class, the Card object is kept in a cache. This is useful because a small subset of cards is used a lot in the HDU creation process (NAXIS, XTENSION, ...).
Aliases
-
astropy.io.fits.header._BasicHeader