combine_extensions

sofia_redux.instruments.fifi_ls.combine_grating_scans.combine_extensions(hdul, correct_bias=False)[source]

Combine all extensions into a single extension.

Parameters:
hdulfits.HDUList
correct_biasbool, optional

If True, additive offset between separate grating scans will be removed, using overlapping wavelength regions to determine the value of the bias.

Returns:
fits.HDUList