normal_shape
- jwst.saturation.x_irs2.normal_shape(input_model, n=None, r=None, detector=None)[source]
Determine the shape of the ‘normal’ pixel data.
- Parameters:
- input_model
JwstDataModel This is used to get the shape of the input data.
- nint or None
The number of “normal” (as opposed to reference) pixels read out before jumping to the reference pixel region.
- rint or None
The number of reference pixels read out before jumping back to the normal pixel region.
- detectorstr
Detector of data. Valid values are None, NRS1, or NRS2. Other detector values will result in a RuntimeError.
- input_model
- Returns:
- data_shapendarray
The shape of the 2-D data array when excluding interleaved reference pixels.