check_dimensions
- jwst.dq_init.dq_initialization.check_dimensions(input_model)[source]
Check the input model DQ array dimensions.
For
GuiderRawModel, compare thedqarray to the expected default dimensions. ForRampModelorSuperstripeRampModel, comparepixeldqandgroupdq.If the dimensions do not match, replace the current array with a default zero-filled one of the correct dimensions.
- Parameters:
- input_model
RampModelorSuperstripeRampModel, orGuiderRawModel Input datamodel; updated in place.
- input_model