FileHeaders¶
- class gdt.core.headers.FileHeaders[source]¶
Bases:
objectA collection of FITS headers. This class should be furthered sub-classed with the class variables:
- _header_templates - A list of
Header, where each header is a template of values.
- _header_templates - A list of
Once initialized, each header can be accessed either by the extension name, e.g., ‘PRIMARY’ or by extension index.
Attributes Summary
The number of headers
Methods Summary
copy()Return a copy of the FileHeaders.
creator()The Creator card
from_headers(headers)Create a FileHeaders object from a list of Headers.
keys()A list of the extension names
update()Update the 'DATE' keywords to the current time.
Attributes Documentation
- num_headers¶
The number of headers
- Type:
(int)
Methods Documentation