We added the subtraction of the data_encoding_offset from the reference pixels but did not subtract from the reference pixels. These are downlinked and treated together on the spacecraft and we should treat them together here too. This means additionally subtracting from amp33 around here.
|
# If a data encoding offset was added to the data, remove it |
|
data_encoding_offset = getattr( |
|
input_model.meta.instrument, "data_encoding_offset", 0 |
|
) |
|
output_model.data -= data_encoding_offset |
We added the subtraction of the data_encoding_offset from the reference pixels but did not subtract from the reference pixels. These are downlinked and treated together on the spacecraft and we should treat them together here too. This means additionally subtracting from amp33 around here.
romancal/romancal/dq_init/dq_init_step.py
Lines 92 to 96 in ccf4f53