check_dimensions
- jwst.dq_init.dq_initialization.check_dimensions(input_model)[source]
Check the input model
pixeldqdimensions.The
pixeldqattribute should have the same dimensions as the image plane of the input model science data If it has dimensions(0, 0), create an array of zeros with the same shape as the image plane of the input model. For the FGS modes, theGuiderRawModelhas only a regular DQ array (nopixeldqnorgroupdq).- Parameters:
- input_model
RampModelorGuiderRawModel Input datamodel.
- input_model