SofiaInstrumentInfo

class sofia_redux.scan.custom.sofia.info.instrument.SofiaInstrumentInfo[source]

Bases: CameraInstrumentInfo

Initialize the SOFIA instrument information.

Contains information on the SOFIA instrument parameters.

Attributes Summary

telescope_diameter

Methods Summary

apply_configuration()

Update SOFIA instrument 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.

Attributes Documentation

telescope_diameter = <Quantity 2.5 m>

Methods Documentation

apply_configuration()[source]

Update SOFIA instrument information with FITS header information.

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

INSTRUME - The name of the instrument (str)
DATATYPE - The data type (str)
INSTCFG - The instrument configuration (str)
INSTMODE - The instrument observing mode (str)
MCCSMODE - The MCCS mode (str)
SPECTEL1 - The first spectral element (str)
SPECTEL2 - The second spectral element (str)
SLIT - The instrument slit ID (str)
DETCHAN - The detector channel ID (str)
RESOLUN - The spectral resolution (float)
EXPTIME - The total effective on-source time (seconds)
TOTINT - The total integration time (seconds)
WAVECENT - The wavelength at the passband center (mircometers)
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