SofiaEnvironmentInfo

class sofia_redux.scan.custom.sofia.info.environment.SofiaEnvironmentInfo[source]

Bases: InfoBase

Initialize the SOFIA environment information.

Contains information on the SOFIA environment parameters such as the ambient and telescope temperatures.

Attributes Summary

log_id

Return the string log ID for the info.

Methods Summary

apply_configuration()

Update environment 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

log_id

Return the string log ID for the info.

The log ID is used to extract certain information from table data.

Returns:
str

Methods Documentation

apply_configuration()[source]

Update environment information with FITS header information.

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

WVZ_STA - Precipitable water vapour at start of observation (um)
WVZ_END - Precipitable water vapour at end of observation (um)
TEMP_OUT - The ambient air temperature (C)
TEMPPRI1 - The primary mirror temperature 1 (C)
TEMPPRI2 - The primary mirror temperature 2 (C)
TEMPPRI3 - The primary mirror temperature 3 (C)
TEMPSEC1 - The secondary mirror temperature (C)
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