do_correction
- jwst.lastframe.lastframe_sub.do_correction(output)[source]
Set data quality flag of the final group in an integration to DO_NOT_USE.
This correction only works on MIRI data. If the number of groups is greater than 2, then GROUP dq flag of final group is set to DO_NOT_USE.
- Parameters:
- output
JwstDataModel Science data to be corrected
- output
- Returns:
- output
JwstDataModel Lastframe-corrected science data
- output