strip_ref_pixels
- jwst.refpix.irs2_subtract_reference.strip_ref_pixels(output_model, irs2_mask)[source]
Copy out the normal pixels from PIXELDQ and GROUPDQ arrays.
- Parameters:
- output_model
RampModel The output science data model, to be modified in-place
- irs2_maskndarray of bool
1D array of length 3200.
Truemeans the element corresponds to a normal pixel in the raw, IRS2-format data.Falsecorresponds either to a reference output pixel or to one of the interspersed reference pixel values.
- output_model