InstrumentInfo¶
- class sofia_redux.scan.info.instrument.InstrumentInfo[source]¶
Bases:
InfoBase
Initialize the instrument information.
The instrument information contains parameters relating to the observing instrument such as the observing frequency, resolution, sampling interval, gain, and number of channels.
Attributes Summary
Return the string log ID for the info.
Methods Summary
edit_image_header
(header[, scans])Edit an image header with available information.
Return the data unit of the instrument
get_focus_string
([focus])Return a string describing the focus.
Return the instrument point size (instrument resolution).
Return the size unit of the instrument.
Return the size of the source for the instrument.
Return the instrument spectral point size.
Return the size unit of the instrument.
Return the instrument stability timescale.
Return the Jansky's per beam.
kelvin
()Return the instrument temperature in Kelvin.
set_mount
(mount)Set the telescope mount for the instrument.
validate_scan
(scan)Validate scan information with THIS information.
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
- 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
- static get_focus_string(focus=None)[source]¶
Return a string describing the focus.
- Parameters:
- focusInstantFocus, optional
- Returns:
- str
- get_point_size()[source]¶
Return the instrument point size (instrument resolution).
- Returns:
- units.Quantity
- get_source_size()[source]¶
Return the size of the source for the instrument.
- Returns:
- units.Quantity
- get_stability()[source]¶
Return the instrument stability timescale.
The stability time scale is the expected time over which the instrument is expected to produce somewhat consistent results. This is used to determine the number of frames from which to perform baseline subtraction and other operations.
- Returns:
- timeunits.Quantity
The stability time for the instrument.