SofiaObservationInfo¶
- class sofia_redux.scan.custom.sofia.info.observation.SofiaObservationInfo[source]¶
Bases:
ObservationInfo
Initialize the SOFIA observation information.
The observation information includes details on the type of observation, the source, and identifiers such as the AOR ID and file groupings.
Methods Summary
Update observation information with FITS header information.
edit_header
(header)Edit an image header with available information.
get_table_entry
(name)Given a name, return the parameter stored in the information object.
Checks whether the observation AOR ID is valid.
Methods Documentation
- apply_configuration()[source]¶
Update observation information with FITS header information.
Updates the information by taking the following keywords from the FITS header:
DATASRC - The data source category (str) OBSTYPE - The type of observation (str) SRCTYPE - The AOR source type (str) KWDICT - The SOFIA keyword dictionary version (str) OBS_ID - The SOFIA observation ID (str) IMAGEID - The image ID within an observation (str) AOT_ID - The unique Astronomical Observation Template ID (str) AOR_ID - The unique Astronomical Observation Request ID (str) FILEGPID - The user ID for grouping files together (str) FILEGP_R - The user ID for grouping red filter files together (str) FILEGP_B - The user ID for grouping blue filter files together (str) OBJECT - The object catalog name (str)
- Returns:
- None
- edit_header(header)[source]¶
Edit an image header with available information.
- Parameters:
- headerastropy.fits.Header
The FITS header to apply.
- Returns:
- None