SofiaNoddingInfo

class sofia_redux.scan.custom.sofia.info.nodding.SofiaNoddingInfo[source]

Bases: InfoBase

Initialize the SOFIA nodding information.

Contains information on the SOFIA nodding parameters such as the nod amplitude, angle, pattern, and timings.

Attributes Summary

log_id

Return the string log ID for the info.

Methods Summary

apply_configuration()

Update nodding 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 nodding information with FITS header information.

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

NODDING - Whether nodding was enabled for the scan (bool)
NODTIME - Total dwell time per nod position (seconds)
NODN - The number of nod cycles (int)
NODSETL - The nod settling time (seconds)
NODAMP - The nod amplitude on the sky (arcseconds)
NODANGLE - The nod angle on the sky (degrees)
NODBEAM - The nod beam position (str)
NODPATT - The pointing sequence for one nod cycle (str)
NODSTYLE - The nodding style (str)
NODCRSYS - The nodding coordinate system (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