PosHistHeaders¶
- class gdt.missions.gifts.headers.PosHistHeaders[source]¶
Bases:
FileHeadersFITS headers for position history files
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
- copy()¶
Return a copy of the FileHeaders.
- Returns:
(
FileHeaders)
- static creator()¶
The Creator card
- classmethod from_headers(headers)¶
Create a FileHeaders object from a list of Headers. The header types and keyword types must match those in
_header_templatesor an exception is raised.- Parameters:
headers (list) – A list of
Headers- Returns:
(
FileHeaders)
- keys()¶
A list of the extension names
- Returns:
(list)
- update()¶
Update the ‘DATE’ keywords to the current time.