ExtensionKey#
- class lsst.images.fits.ExtensionKey(name: str = '', ver: int = 1)#
Bases:
objectThe identifiers for a single FITS extension HDU within a file.
Attributes Summary
Value of the EXTNAME keyword, or an empty string for the primary HDU.
Value of the EXTVER keyword (which may be absent if it is
1).Methods Summary
from_index_row(row)Construct from a row of the index binary table appended to the FITS files written by the package.
from_str(source)Construct from the
strcoercion of this type, which is used as the 'source' field in various Pydantic models that serve as references to other HDUs.Attributes Documentation
- name: str = ''#
Value of the EXTNAME keyword, or an empty string for the primary HDU.
- ver: int = 1#
Value of the EXTVER keyword (which may be absent if it is
1).
Methods Documentation
- classmethod from_index_row(row: ndarray) ExtensionKey#
Construct from a row of the index binary table appended to the FITS files written by the package.
- classmethod from_str(source: str) ExtensionKey#
Construct from the
strcoercion of this type, which is used as the ‘source’ field in various Pydantic models that serve as references to other HDUs.