subtract_bias

jwst.superbias.bias_sub.subtract_bias(output, bias)[source]

Subtract the superbias image from each group of each integration in the science data.

The DQ flags in the bias reference image are propagated into the science data pixel DQ array. The error array is unchanged.

Parameters:
outputRampModel

Input science data

biasSuperBiasModel

Superbias image data

Returns:
outputRampModel

Bias-subtracted science data