PhaiiTriggerHeaders¶
- class gdt.missions.gifts.headers.PhaiiTriggerHeaders[source]¶
Bases:
PhaiiCommonHeadersFITS headers for trigger TODO CTIME and CSPEC files
Attributes Summary
The number of headers
Methods Summary
copy()Return a copy of the FileHeaders.
creator()The Creator card
from_file_headers(input_headers)Initialises a GIFTS headers set using a corresponding set of file (GBM/GIFTS) headers
from_headers(headers)Create a FileHeaders object from a list of Headers.
keys()A list of the extension names
update()Update the 'DATATYPE' keyword to the instance type.
Attributes Documentation
- filetype = 'GIFTS PHAII'¶
- 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_file_headers(input_headers: FileHeaders) FileHeaders¶
Initialises a GIFTS headers set using a corresponding set of file (GBM/GIFTS) headers
- 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 ‘DATATYPE’ keyword to the instance type.