do_correction_soss
- jwst.pathloss.pathloss.do_correction_soss(data, pathloss)[source]
Path loss correction for NIRISS SOSS.
NIRISS SOSS pathloss correction is basically a correction for the flux from the 2nd and 3rd order dispersion that falls outside the subarray aperture. The correction depends on the pupil wheel position and column number (or wavelength). The simple option is to do the correction by column number, then the only interpolation needed is a 1-D interpolation into the pupil wheel position dimension.
Data are modified in-place.
- Parameters:
- data
JwstDataModel The NIRISS SOSS data to be corrected.
- pathloss
JwstDataModel The pathloss reference data.
- data