FifiLsScan¶
- class sofia_redux.scan.custom.fifi_ls.scan.scan.FifiLsScan(channels, reduction=None)[source]¶
Bases:
SofiaScan
Initialize a FIFI-LS scan.
- Parameters:
- channelssofia_redux.scan.custom.sofia.channels.camera.SofiaCamera
The instrument channels for the scan.
- reductionsofia_redux.scan.reduction.reduction.Reduction, optional
The reduction to which this scan belongs.
Attributes Summary
Return the scan astrometry information.
Return the information object for the scan.
Methods Summary
Add integrations to the scan integrations from an open HDUL.
copy
()Return a copy of the FifiLsScan.
edit_scan_header
(header)Edit scan FITS header information.
Return the first frame of the first integration.
Return the first integration of the scan.
get_id
()Return the scan ID.
Return an integration instance of the correct type for the scan.
Return the last frame of the last integration.
Return the last integration of the scan.
Return the point size of the scan.
validate
()Validate the scan after a read.
Attributes Documentation
- astrometry¶
Return the scan astrometry information.
- Returns:
- infoFifiLsAstrometryInfo
- info¶
Return the information object for the scan.
The information object contains the reduction configuration and various parameters pertaining the this scan.
- Returns:
- FifiLsInfo
Methods Documentation
- add_integrations_from_hdul(hdul)[source]¶
Add integrations to the scan integrations from an open HDUL.
Any “timestream” HDUs from the HDUList are read by the integration.
- Parameters:
- hdulastropy.io.fits.hdu.hdulist.HDUList
- Returns:
- None
- edit_scan_header(header)[source]¶
Edit scan FITS header information.
- Parameters:
- headerastropy.io.fits.header.Header
The header to edit.
- Returns:
- None
- get_first_integration()[source]¶
Return the first integration of the scan.
- Returns:
- integrationFifiLsIntegration
Will be
None
if no integrations exist.
- get_id()[source]¶
Return the scan ID.
FIFI-LS appends a “-uncor” to the ID if using uncorrected FLUX and WAVELENGTH data for the reduction.
- Returns:
- str
- get_integration_instance()[source]¶
Return an integration instance of the correct type for the scan.
- Returns:
- integrationFifiLsIntegration
- get_last_integration()[source]¶
Return the last integration of the scan.
- Returns:
- integrationFifiLsIntegration
Will be
None
if no integrations exist.