correct_mrs

jwst.straylight.correct_mrs(input_model, slice_map)[source]

Corrects the MIRI MRS data for straylight.

Parameters
  • input_model (IFUImageModel) – Science data to be corrected.

  • slice_map (ndarray) – Holds the pixel region mask for the correction. slice = (band * 100 + slice#) gap = 0

Returns

output – Straylight-subtracted science data.

Return type

IFUImageModel