jwst
jwst copied to clipboard
CHARGELOSS should be propagated to all subsequent groups in a ramp.
Issue JP-3560 was created on JIRA by Kenneth MacDonald:
When the CHARGELOSS flag is set in an integration ramp, all subsequent groups in the ramp should be flagged as CHARGELOSS as well. For example, if in an m_ long ramp, group _n is flagged as CHARGELOSS, then all groups {}n{}{}+k{} should be flagged as CHARGELOSS as well, where n+k < m and k >= 0.
Currently, the CHARGELOSS flag is set only for groups meeting the flagging threshold based on the assumption that all later will meet the threshold to be flagged as CHARGELOSS. Regression testing has found examples that this not be true, so the charge migration step should force all subsequent groups be flagged whenever a single group in a ramp is flagged.