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

astrometry

Return the scan astrometry information.

info

Return the information object for the scan.

Methods Summary

add_integrations_from_hdul(hdul)

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.

get_first_frame()

Return the first frame of the first integration.

get_first_integration()

Return the first integration of the scan.

get_id()

Return the scan ID.

get_integration_instance()

Return an integration instance of the correct type for the scan.

get_last_frame()

Return the last frame of the last integration.

get_last_integration()

Return the last integration of the scan.

get_point_size()

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

Return a copy of the FifiLsScan.

Returns:
FifiLsScan
edit_scan_header(header)[source]

Edit scan FITS header information.

Parameters:
headerastropy.io.fits.header.Header

The header to edit.

Returns:
None
get_first_frame()[source]

Return the first frame of the first integration.

Returns:
FifiLsFrames
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_frame()[source]

Return the last frame of the last integration.

Returns:
FifiLsFrames
get_last_integration()[source]

Return the last integration of the scan.

Returns:
integrationFifiLsIntegration

Will be None if no integrations exist.

get_point_size()[source]

Return the point size of the scan.

The point size will be the maximum of either the scan or source model (if available).

Returns:
Coordinate2D1

The point size.

validate()[source]

Validate the scan after a read.

Returns:
None