is_irs2

jwst.lib.pipe_utils.is_irs2(model)[source]

Check whether the data are in IRS2 format.

This currently assumes that only full-frame, near-infrared data can be taken using the IRS2 readout pattern.

Parameters:
modelJwstDataModel or ndarray

Data to check.

Returns:
statusbool

True if the data are in IRS2 format.