generate_stripe_reference

jwst.lib.stripe_utils.generate_stripe_reference(ref_array, sci_model)[source]

Generate stripe array from a reference array matching the full subarray size.

Parameters:
ref_arrayndarray

The reference array to be sliced. Assumed to be full size along the slow axis.

sci_modelJwstDataModel

The science datamodel.

Returns:
stripe_outndarray

Generated stripe array.