API
Public Step API
jwst.wfss_contam.wfss_contam_step Module
Classes
|
Perform contamination correction of WFSS spectra. |
Complete Developer API
jwst.wfss_contam.disperse Module
Functions
|
Compute the dispersed image pixel values from the direct image. |
jwst.wfss_contam.observations Module
Functions
|
Apply a simple astropy background subtraction. |
Classes
|
Define an observation leading to a single grism image. |
|
Lightweight container for simulated cutout data and attributes. |
jwst.wfss_contam.sens1d Module
Functions
|
Retrieve wavelength and response data from photom ref file. |
|
Find photometric conversion values based on per-pixel wavelength-dependent response. |
jwst.wfss_contam.trace_pdt Module
Pixel dispersion table, which caches the dispersed-pixel offsets for efficient interpolation.
Functions
|
Build a TracePDT for one spectral order by sampling the exact transform on a coarse grid. |
|
Get the "detector" to "grism_detector" transform, reduced to 2 (x, y) outputs. |
Classes
|
Interpolated replacement for the "detector" to "grism_detector" WCS transform. |
jwst.wfss_contam.wavefit Module
Fit a spectral shape to a WFSS dispersed source.
Functions
|
Reconstruct a fitted image as a linear combination of dispersed basis images. |
|
Fit a linear combination of dispersed basis images to the observed source cutout. |
Classes
Raise when spectral fitting fails. |
jwst.wfss_contam.wfss_contam Module
Top-level module for WFSS contamination correction.
Functions
|
Correct contamination in WFSS spectral cutouts. |