Stray Light Correction

jwst.straylight Package

Functions

correct_mrs(input_model, slice_map)

Corrects the MIRI MRS data for straylight.

correct_mrs_modshepard(input_model, …)

Straylight correction using a modified Shepard algorithm.

shepard_2d_kernel(roi, power)

Calculates the kernel matrix of Shepard’s modified algorithm.

Classes

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

StraylightStep: Performs straylight correction image using a Mask file.

Class Inheritance Diagram

Inheritance diagram of jwst.straylight.straylight_step.StraylightStep