SofiaTelescopeInfo

class sofia_redux.scan.custom.sofia.info.telescope.SofiaTelescopeInfo[source]

Bases: TelescopeInfo

Initialize the SOFIA telescope information.

Contains information on the SOFIA specific telescope parameters such as zenith angle, boresight coordinates, and tracking status.

Attributes Summary

telescope_diameter

Methods Summary

apply_configuration()

Update telescope information with FITS header information.

edit_header(header)

Edit an image header with available information.

edit_image_header(header[, scans])

Edit an image header with available information.

get_table_entry(name)

Return a parameter value for the given name.

get_telescope_name()

Return the telescope name.

Attributes Documentation

telescope_diameter = <Quantity 2.5 m>

Methods Documentation

apply_configuration()[source]

Update telescope information with FITS header information.

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

TELESCOP - The observatory name (str)
TELVPA - The boresight position angle (degrees)
LASTREW - The UTC time of last telescope rewind (str)
FOCUS_ST - The focus T value at start (um)
FOCUS_EN - The focus T value at end (um)
TELEL - The telescope elevation in cavity (degrees)
TELXEL - The telescope cross elevation in cavity (degrees)
TELLOS - The telescope line-of-sight angle in cavity (degrees)
TSC-STAT - The TASCU system status at end (str)
FBC-STAT - The flexible body compensation system status at end (str)
ZA_START - The zenith angle at start (degrees)
ZA_END - The zenith angle at end (degrees)
TRACMODE - The SOFIA tracking mode (str)
TRACERR - Whether there was a tracking error in the scan (bool)
TELCONF - The telescope configuration (str)
EQUINOX - The coordinate epoch (year)
TELEQUI - The boresight epoch (year)
TELRA - The boresight RA (hourangle)
TELDEC - The boresight DEC (degrees)
OBSRA - The requested RA (hourangle)
OBSDEC - The requested DEC (degrees)
Returns:
None
edit_header(header)[source]

Edit an image header with available information.

Parameters:
headerastropy.fits.Header

The FITS header to apply.

Returns:
None
edit_image_header(header, scans=None)[source]

Edit an image header with available information.

Parameters:
headerastropy.fits.Header

The FITS header to apply.

scanslist (Scan), optional

A list of scans to use during editing.

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
static get_telescope_name()[source]

Return the telescope name.

Returns:
namestr