apply_rscd_flags

jwst.rscd.rscd_sub.apply_rscd_flags(output_model, int_start, int_end, skip_array)[source]

Apply flags for RSCD correction setting DO_NOT_USE to the dq values.

Parameters:
output_modelRampModel

Science data to be flagged

int_startint

Starting integration

int_endint

Ending integration

skip_arrayndarray

Number of groups to skip at the beginning of the ramp for integration range.

Returns:
output_modelRampModel

Ramp datamodel with RSCD affected groups flagged as DO_NOT_USE