Skip to content

Subtract data_encoding_offset from amp33 in addition to data pixels #2279

@schlafly

Description

@schlafly

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions