correct_xartifact
- jwst.straylight.straylight.correct_xartifact(input_model, modelpars)[source]
Correct the MIRI MRS data for straylight produced by the cross-artifact.
This routine applies a cross-artifact correction to MRS science slope images. The correction, based on reference model parameters, is subtracted from the observed detector image. This effectively removes unpleasant detector PSF effects that are non-local on the sky.
- Parameters:
- input_model
IFUImageModel Science data to be corrected.
- modelpars
FITS_rec Holds the reference parameters to be used to build the cross-artifact model.
- input_model
- Returns:
- output
IFUImageModel Straylight-subtracted science data.
- output