SofiaExtendedScanningInfo

class sofia_redux.scan.custom.sofia.info.extended_scanning.SofiaExtendedScanningInfo[source]

Bases: SofiaScanningInfo

Initialize the SOFIA extended scanning information.

Contains information on additional scanning information that may be required to describe SOFIA specific observations.

Attributes Summary

log_id

Return the string log ID for the info.

Methods Summary

apply_configuration()

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

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

SCNPATT - The scanning pattern (str)
SCNCRSYS - The scanning coordinate system (str)
SCNAMPXL - The scanning x-elevation scanning amplitude (arcsec)
SCNAMPEL - The scanning elevation scanning amplitude (arcsec)
SCNANGLC - The current scanning angle (degree)
SCNANGLS - The initial scanning angle (degree)
SCNANGLF - The final scanning angle (degree)
SCNDUR - The scan duration (seconds)
SCNITERS - The number of scanning iterations (int)
SCNNSUBS - The number of sub-scans (int)
SCNLEN - The raster scan length (arcsec)
SCNSTEP - The raster scan step size (arcsec)
SCNSTEPS - The number of raster scan steps (int)
SCNCROSS - Whether the scan is cross-scanning (bool)
SCNFQRAT - The Lissajous y/x frequency ratio (float)
SCNPHASE - The Lissajous y/x relative phase (degree)
SCNTOFF - The Lissajous time offset (seconds)
SCNTWAIT - The track relock time window (seconds)
SCNTRKON - Whether tracking is on/off (0/1) (int)
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