SofiaOriginationInfo

class sofia_redux.scan.custom.sofia.info.origination.SofiaOriginationInfo[source]

Bases: OriginationInfo

Initialize the SOFIA origination information.

Contains information on the SOFIA origin data such as the observer, operator, software, and file.

Methods Summary

apply_configuration()

Update the origination information with FITS header information.

edit_header(header)

Edit an image header with available information.

get_table_entry(name)

Return a parameter value for the given name.

Methods Documentation

apply_configuration()[source]

Update the origination information with FITS header information.

Updates the information by taking the following keywords from the FITS header:

ORIGIN - The creator organization or node (str)
OBSERVER - The name(s) of observer(s) (str)
CREATOR - The creator software or task (str)
OPERATOR - The name(s) of operator(s) (str)
FILENAME - The original file name (str)
DATASUM - The checksum of the data records (str)
CHECKVER - The version of checksum algorithm (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
get_table_entry(name)[source]

Return a parameter value for the given name.

Parameters:
namestr

The name of the parameter to retrieve.

Returns:
value