correction_skip_groups

jwst.rscd.rscd_sub.correction_skip_groups(output, group_skip_int1, group_skip_int2p)[source]

Set the initial groups in integration to DO_NOT_USE to skip groups affected by RSCD effect.

Parameters:
outputRampModel

Science data to be flagged

group_skip_int1int

Number of groups to skip at the beginning of the ramp for integration 1

group_skip_int2pint

Number of groups to skip at the beginning of the ramp for integration 2 and higher

Returns:
output: RampModel

Ramp datamodel with RSCD affected groups flagged as DO_NOT_USE