sofia_redux.instruments.exes: EXES Data Reduction Algorithms¶
The sofia_redux.instruments.exes
package contains data reduction
algorithms for the EXES instrument. It is designed to be used with the
sofia_redux
package, so it does not provide its own interfaces or workflows.
See the sofia_redux.pipeline
documentation for more information on the pipeline
interfaces, or the API documentation below for more information on EXES
algorithms.
Practical Data Reduction for EXES¶
Flat Procedure¶
Flat fields for EXES are used to correct for instrumental response, calibrate to physical units, and identify or tune optical distortion parameters.
Reference/API¶
sofia_redux.instruments.exes.calibrate Module¶
Functions¶
|
Calibrate spectral image to physical units. |
sofia_redux.instruments.exes.cirrus Module¶
Functions¶
|
Correct nod-off-slit data for residual sky noise. |
sofia_redux.instruments.exes.clean Module¶
Functions¶
|
Correct bad pixels. |
sofia_redux.instruments.exes.coadd Module¶
Functions¶
|
Combine individual frames to increase signal-to-noise. |
sofia_redux.instruments.exes.correct_row_gains Module¶
Functions¶
|
Correct odd/even row gain offsets. |
sofia_redux.instruments.exes.debounce Module¶
Functions¶
|
Correct for optics shifts between nods (bounces). |
sofia_redux.instruments.exes.derasterize Module¶
Functions¶
|
Read and recombine a rasterized flat file. |
sofia_redux.instruments.exes.derive_tort Module¶
Functions¶
|
Derive distortion parameters and identify orders and illuminated regions. |
sofia_redux.instruments.exes.despike Module¶
Functions¶
|
Correct outlier pixels due to temporal spikes. |
sofia_redux.instruments.exes.diff_arr Module¶
Subtract sky frames or nod pairs.
Functions¶
|
Subtract sky frames, nod pairs, or a dark frame. |
sofia_redux.instruments.exes.get_atran Module¶
Functions¶
Clear all data from the atran cache. |
|
|
Retrieves atmospheric transmission data from the atran cache. |
|
Store atmospheric transmission data in the atran cache. |
|
Retrieve reference atmospheric transmission data. |
sofia_redux.instruments.exes.get_badpix Module¶
Functions¶
|
Get a bad pixel mask from a reference file. |
sofia_redux.instruments.exes.get_resolution Module¶
Functions¶
|
Retrieve expected spectral resolving power. |
sofia_redux.instruments.exes.lincor Module¶
Functions¶
|
Correct raw readout frames for detector nonlinearity. |
sofia_redux.instruments.exes.make_template Module¶
Functions¶
|
Make a spectral template for weighting and shifting spectra. |
sofia_redux.instruments.exes.makeflat Module¶
Functions¶
|
Generate calibrated flat frame; set distortion parameters. |
|
Black-body photon function. |
|
Black-body intensity function. |
|
Calibration factor for EXES blackbody source + flat mirror. |
sofia_redux.instruments.exes.mergehdr Module¶
Functions¶
|
Merge input headers. |
sofia_redux.instruments.exes.readhdr Module¶
Functions¶
|
Read and update an EXES FITS header. |
sofia_redux.instruments.exes.readraw Module¶
Functions¶
|
Correct for nonlinearity combine individual readouts. |
sofia_redux.instruments.exes.spatial_shift Module¶
Functions¶
|
Shift spectra for spatial alignment. |
sofia_redux.instruments.exes.submean Module¶
Functions¶
|
Subtract residual sky background from nod-on-slit data by removing the mean value at each wavelength. |
sofia_redux.instruments.exes.tort Module¶
Functions¶
|
Correct image for optical distortion. |
sofia_redux.instruments.exes.tortcoord Module¶
Functions¶
|
Calculate undistorted image coordinates. |
sofia_redux.instruments.exes.utils Module¶
Functions¶
|
Parse the DETSEC keyword in a header or from a string. |
|
Check the data dimensions and return number of frames. |
|
Check variance dimensions for expected shape. |
|
Get a reset dark image from a file on disk. |
|
Set the TOTTIME key in the header to the total elapsed time. |
|
Parse the central wavenumber from the input header. |
sofia_redux.instruments.exes.wavecal Module¶
Functions¶
|
Generate a wavelength calibration map from the grating equation. |