API
Public Step API
jwst.refpix.refpix_step Module
Reference pixel correction step.
Classes
|
Use reference pixels to correct bias drifts. |
Complete Developer API
jwst.refpix.irs2_subtract_reference Module
Functions
|
Correct an input NIRSpec IRS2 datamodel using reference pixels. |
|
Convert real and imaginary parts to complex. |
|
Make IRS2 mask. |
|
Copy out the normal pixels from PIXELDQ and GROUPDQ arrays. |
|
Set some interleaved reference pixel values to zero. |
|
Interpret the MASK column of the DQ table. |
|
Replace a bad reference pixel with its nearest neighboring value. |
|
Flag bad reference pixels and replace with nearest good values. |
|
Subtract reference output and pixels for the current integration. |
|
Filter iteratively in FFT space of the normal pixels in each group. |
|
Fit a straight line using ordinary least squares. |
|
Remove slopes. |
|
Replace bad pixels. |
|
Fill the bad regions in the data. |
jwst.refpix.optimized_convolution Module
Functions for Simple Improved Reference Subtraction (SIRS).
They are for using the SIRS algorithm to improve the 1/f noise, only for full frame non-IRS2 NIR data.
Functions
|
Make convolution kernels from Fourier coefficients in the reference file. |
|
Get the convolution kernels coefficients from the reference file. |
|
Apply the convolution kernel. |
jwst.refpix.reference_pixels Module
Module for handling Reference Pixels.
Functions
|
Create a dataset object from an input model. |
|
Perform Reference Pixel Correction on a JWST Model. |
|
Do the Reference Pixel Correction. |
|
Do the Reference Pixel Correction for the ZEROFRAME array. |
|
Restore the input model. |
|
Set up dataset for zero frame. |
|
Save corrected data for the SCI extension. |
Classes
|
Data container for passing data from routine to routine. |
|
Container for NIR detector datasets. |
|
Container for MIRI data. |