SofiaAircraftInfo

class sofia_redux.scan.custom.sofia.info.aircraft.SofiaAircraftInfo[source]

Bases: InfoBase

Initialize the SOFIA aircraft information.

Contains information on SOFIA location and flight path.

Attributes Summary

ft

kft

knots

log_id

Return the string log ID for the info.

Methods Summary

apply_configuration()

Update aircraft information with the FITS header configuration data.

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.

Attributes Documentation

ft = Unit("ft")
kft = <Quantity 1000. ft>
knots = Unit("kn")
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 aircraft information with the FITS header configuration data.

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]

Given a name, return the parameter stored in the information object.

Note that names do not exactly match to attribute names.

Parameters:
namestr
Returns:
value