API

Public Step API

jwst.straylight.straylight_step Module

Correct MRS data for straylight caused by the cross-artifact effect or residual cosmic rays.

Classes

StraylightStep([name, parent, config_file, ...])

Correct for straylight caused by cross-artifact effect or residual cosmic rays.

Complete Developer API

jwst.straylight.straylight Module

Module for applying straylight correction.

Functions

makemodel_ccode(fimg, xvec, imin, imax, ...)

C version wrapper for determining the cross-artifact model to subtract.

makemodel_composite(fimg, xvec, imin, imax, ...)

Python code version determining of the cross-artifact model to subtract.

correct_xartifact(input_model, modelpars)

Correct the MIRI MRS data for straylight produced by the cross-artifact.

clean_showers(input_model, allregions[, ...])

Correct the MIRI MRS data for straylight produced by residual cosmic ray showers.