FifiLsIntegration¶
- class sofia_redux.scan.custom.fifi_ls.integration.integration.FifiLsIntegration(scan=None)[source]¶
Bases:
SofiaIntegration
Initialize a FIFI-LS integration.
- Parameters:
- scansofia_redux.scan.custom.hawc_plus.scan.scan.FifiLsScan
The scan to which this integration belongs (optional).
Attributes Summary
Return the scan astrometry.
Methods Summary
Apply configuration options to an integration.
Flags all channels with completely zeroed frame data as DISCARD/DEAD.
get_crossing_time
([source_size])Return the crossing time for a given source size.
get_first_frame
([reference])Return the first valid frame.
get_full_id
([separator])Return the full integration ID.
get_last_frame
([reference])Return the first valid frame.
read
(hdul)Read integration information from a FITS HDU List.
validate
()Validate the integration after a read.
Attributes Documentation
- scan_astrometry¶
Return the scan astrometry.
- Returns:
- FifiLsAstrometryInfo
Methods Documentation
- flag_zeroed_channels()[source]¶
Flags all channels with completely zeroed frame data as DISCARD/DEAD.
- Returns:
- None
- get_crossing_time(source_size=None)[source]¶
Return the crossing time for a given source size.
- Parameters:
- source_sizeCoordinate2D1, optional
The size of the source. If not supplied, defaults to (in order of priority) the source size in the scan model, or the instrument source size.
- Returns:
- timeastropy.units.Quantity
The crossing time in time units.
- get_first_frame(reference=0)[source]¶
Return the first valid frame.
- Parameters:
- referenceint, optional
The first actual frame index after which to return the first valid frame. The default is the first (0).
- Returns:
- FifiLsFrames
- get_full_id(separator='|')[source]¶
Return the full integration ID.
- Parameters:
- separatorstr, optional
The separator character/phase between the scan and integration ID.
- Returns:
- str
- get_last_frame(reference=None)[source]¶
Return the first valid frame.
- Parameters:
- referenceint, optional
The last actual frame index before which to return the last valid frame. The default is the last.
- Returns:
- FifiLsFrames